Hair dying while pregnant

Shelby • Mommy to a sweet little girl 🌸. •September 8, 2017 👶🏽💕• Baby #2 October 2021
Can a pregnant woman get her hair dyed and it not affect the baby? 
There is a lot of people that are completely against women dying their hair while pregnant. Is it really harmful? Is it safe?