Hair rinse

This may be a dumb question but I really wanna know before I call my doctor lol is it safe to " rinse " you're hair doing pregnancy I kno that hair rinse is nothing ( chemical wise ) compared to actual hair dye . Is it safe ?