Dying hair pregnant?

My hair is naturally brown and it looks so bad because it’s coming out the blonde i have and I have a baby shower coming up but my mom keeps saying it’s so bad to dye your hair while pregnant. Has someone done this before??? Advice please!