Can you dye your hair while pregnant?


So, I just wanted to know if dying your hair while pregnant is a bad thing? I really wanted to treat myself to a nice balayage for my maternity pictures and just pamper myself for the day. But before doing so, what are some risks? This is my first child and I don’t want to do anything I might regret 😬