Dying hair

Is dying your hair at 19 weeks safe to do? Or would you guys say it's not good to do?