Dying your hair is completely safe, it's just a myth when people say it's not safe, if your dying your hair just make sure there's fresh air in the room your doing it in
You can dye your hair after your first trimester an it is better to get one that is less harsh your body is more sensitive to everything