Is it safe

Can I dye my hair at 38 weeks I’ve been loosing part of my mucus plug and went to get a haircut and would really like to dye my hair before baby comes would it be safe I usually get the products from Sally’s ?