Pregnant and hair dye

I just found out I’m pregnant. I now realize I dyed my hair around the time that inoculated, maybe the day before? Is that ok? I’m worried now.