I am not a beautician but did breastfeed and asked my lactation consultant and she said it was fine. I had my hair dyed when my daughter was 3 weeks.
You’ll be fine!
It s safe. I dyed mine all throughout my pregnancy. The color isn’t made out of the nasty stuff it used to.