Is it safe to set your hair professionally colored?

Mineo
I'm 26 weeks pregnant, I'm really just looking to get my color matched so the 4 inches of darker hair doesn't look so funny in all my maternity photos and baby shower. I'm calling to ask my ob tomorrow but does anyone know what they really recomend? I hear all sorts of stuff 9n this subject.