Dying hair

I'm 33 weeks pregnant and I want to dye my hair back brown before baby boy arrives? Is it safe?