Getting hair dyed while pregnant.

Im 21 weeks and struggling with self care and wanted to get my hair done to hopefully feel a bit better about myself. Is that okat?