Hair dye

Is it okay if I get my hair done at the salon while pregnant?