Is it ok to dye my hair at this stage ?

Been.z

My hair is dyed before pregnancy and my roots have grown too long and I want to dye them, I am 15 weeks pregnant is it safe?