Hair dye

So I've heard mixed things... But is it safe to dye your hair while your pregnant? What are your thoughts?