Can i eat this?

Can you have red velvet cookies during pregnancy?? I ask because i heard you shouldn’t have red food dye!