Dying hair while pregnant ??

Can I dye my hair while I’m pregnant ??? I’m 6 weeks and 3 days ?? I don’t want to harm the baby or anything