When I had my hair dyed when I was prego with my son the color just didn't stick very well it would rinse out each time I washed my hair.
Its absolutely fine just make sure your in a well.ventilated are so ypu aren't breathing all the chemical/fumes in :)