Inhaling Hairdye fumes

Iqra 🌈 • Lost my baby girl at 24 weeks (Anamta 👼) 25/06/2021 Rainbow baby Inaya 23/05/2022 Missed miscarriage 28/09/2023

I am 29 weeks pregnant. dyed my hair today and started having the weird taste in my throat even though i am sure i didn’t swallow it but felt like it was getting in my throat. Never experienced it before so bit nervous. Guess i inhaled the fumes of dye. Can it be harmful?