There are two different mechanisms involved. Firstly, the UVA-radiation creates oxidative stress, which in turn oxidizes existing melanin and leads to rapid darkening of the melanin, also known as IPD (immediate pigment darkening). Secondly, there is an increase in production of melanin known as melanogenesis. Melanogenesis leads to delayed tanning and first becomes visible about 72 hours after exposure. The tan that is created by an increased melanogenesis lasts much longer than the one that is caused by oxidation of existing melanin. Tanning involves not just the increased melanin production in response to UV radiation but the thickening of the top layer of the epidermis, the stratum corneum.