It's not recommended... They say highlights are okay in a well ventilated area because the dye isn't sitting directly on your head but actually dying your hair is something they advise you not to do
I've just dyed my hair but I discussed it with my midwife first. It is safe as long as there's no ammonia or peroxide. I'm 31weeks and baby's fine