This is why your skin color doesn't change until hours after you tan - study
Only after the cells have repaired the genetic information to the best of their ability do they begin to produce the increased amounts of melanin.
A woman is seen tanning at the beach (Illustrative).