Dying your hair while pregnant?

Is it okay to dye your hair while pregnant?