What Is Melanin? The Science Behind Your Tan

3D illustration of a melanocyte distributing melanin to surrounding keratinocytes — Blausen.com staff via Wikimedia Commons
Image: BruceBlaus. When using this image in external sources it can be cited as: Bla…, CC BY 3.0, via Wikimedia Commons

Your tan is not a fashion statement — it is a biological defence mechanism, and the molecule behind it is melanin. This pigment, produced deep in your epidermis, is the reason skin darkens after sun exposure and the reason darker skin tones are more resistant to sunburn. Understanding what melanin is and how it works is the foundation of smarter, safer tanning.

What Is Melanin?

Melanin is a large, complex polymer produced by specialised cells called melanocytes, which sit in the basal layer of the epidermis — the boundary between your outer skin and the deeper dermis. Every human has roughly the same number of melanocytes: about 1,000–2,000 per square millimetre of skin, regardless of ethnicity. The difference between a fair-skinned person and a dark-skinned person is not the number of melanocytes, but how much melanin those cells produce and how they package and distribute it.

Melanin is synthesised from the amino acid tyrosine through a multi-step enzymatic pathway called melanogenesis. The rate-limiting enzyme in this process is tyrosinase, which converts tyrosine into DOPA and then into dopaquinone — the precursor from which all melanin is built. Two additional enzymes, TYRP1 and TYRP2 (DOPAchrome tautomerase), help guide the pathway towards its final products.

The finished melanin is packaged into tiny organelles called melanosomes, which are then transported along the melanocyte's branching arms (dendrites) and transferred to surrounding keratinocytes — the cells that make up the bulk of your epidermis. A single melanocyte supplies melanin to roughly 36 keratinocytes, forming what is known as the epidermal melanin unit.

Two Types of Melanin — and Why It Matters

Not all melanin is created equal. Your melanocytes produce two distinct types, and the ratio between them shapes your skin colour, your tanning ability, and your vulnerability to UV damage.

Feature Eumelanin Pheomelanin
Colour Brown to black Yellow to red
UV absorption Absorbs >99.9% of UV radiation Photo-unstable; can generate free radicals
Photoprotection Strong — shields DNA effectively Weak — may promote oxidative damage
Dominant in Darker skin and hair Red hair, freckles, lighter skin
Key component Indole units (DHI/DHICA) Sulphur-containing benzothiazines

Eumelanin is the protective workhorse. It absorbs UV photons and dissipates the energy as harmless heat, preventing that radiation from reaching nuclear DNA. Research shows it can neutralise over 99.9% of absorbed UV radiation — making it one of the most effective natural photoprotectants known.

Pheomelanin, by contrast, is a liability under UV. It is photo-unstable: when struck by UV radiation, it can generate reactive oxygen species (ROS) that damage DNA rather than protect it. This is one reason people with red hair and fair skin — who have higher pheomelanin-to-eumelanin ratios due to MC1R gene variants — are significantly more susceptible to melanoma.

In darker skin (Fitzpatrick Types V–VI), eumelanin typically makes up 60–70% of total epidermal melanin, with pheomelanin accounting for just 2–8%. In lighter skin, the overall melanin content is lower and the proportion of pheomelanin is higher.

How Melanin Protects Your DNA

When melanosomes arrive inside a keratinocyte, they do not float around randomly. They migrate to a precise position directly above the cell nucleus, forming a structure called the supranuclear melanin cap. This cap acts as a physical UV shield — a parasol over your DNA.

The melanin cap absorbs incoming UV photons before they can reach the chromosomes below, reducing the formation of cyclobutane pyrimidine dimers (CPDs) — the DNA lesions most directly linked to skin cancer mutations. People with darker skin have more numerous and more stable melanin caps. In lighter skin, melanosomes tend to cluster in groups of two or three, degrade more quickly, and provide less consistent coverage.

This difference in melanosome stability and distribution is one of the key reasons behind the roughly 70-fold higher incidence of skin cancer in people with European ancestry compared with those of African ancestry. But even the most heavily pigmented skin is not immune — melanin reduces UV penetration, it does not eliminate it.

The Tanning Cascade: What Happens When UV Hits Your Skin

A visible tan is the end result of a complex molecular chain reaction called delayed tanning, and it takes 48–72 hours to fully develop. Here is the sequence:

  1. UV hits keratinocytes and causes DNA damage — primarily pyrimidine dimers in the nucleotide sequence.
  2. Within one hour, the tumour-suppressor protein p53 is stabilised in response to that DNA damage.
  3. By three hours, p53 activates transcription of the gene POMC (pro-opiomelanocortin) in keratinocytes.
  4. POMC is cleaved into several peptides, including α-MSH (alpha-melanocyte-stimulating hormone) and β-endorphin — the latter being the opioid partly responsible for the mood lift many people feel after sun exposure.
  5. α-MSH binds to MC1R (melanocortin 1 receptor) on the surface of nearby melanocytes.
  6. This triggers a cAMP signalling cascade that activates the transcription factor MITF — the master regulator of melanogenesis.
  7. MITF upregulates tyrosinase, TYRP1, and TYRP2, ramping up the production of new eumelanin.
  8. Over 48–72 hours, newly synthesised melanin is packaged into melanosomes and transported to keratinocytes, darkening the skin.

This is distinct from immediate pigment darkening (IPD), which occurs within minutes of UVA exposure. IPD involves the oxidation and redistribution of melanin already present in the skin — no new melanin is made. It fades within hours and provides no meaningful photoprotection.

How Much Natural Protection Does Melanin Provide?

One of the most persistent misconceptions is that dark skin does not need sun protection. While melanin does confer real photoprotective benefit, it has clear limits.

Fitzpatrick type Skin tone Estimated natural SPF
I–II Fair / very fair ~3–4
III Medium ~5–8
IV Olive ~8–10
V Brown ~13
VI Dark brown / black ~13–17

For context, dermatologists recommend a minimum of SPF 30, which blocks 97% of UVB. Even the highest natural melanin protection (SPF ~17) blocks roughly 94% — leaving a meaningful gap, particularly over cumulative exposure. Melanin also primarily absorbs UVB; its protection against UVA — the wavelength most linked to photoaging and melanoma — is considerably weaker.

Melanin Across Skin Types: Same Cells, Different Output

The variation in human skin colour is not about biology giving some people more pigment factories and others fewer. Every human has roughly the same density of melanocytes. What differs is:

  • How much melanin each melanocyte produces
  • The eumelanin-to-pheomelanin ratio — darker skin has far more eumelanin
  • Melanosome size and distribution — lighter skin has smaller melanosomes clustered in groups; darker skin has larger, individually dispersed melanosomes that resist degradation
  • Where melanin reaches — in dark skin, melanin is distributed throughout the epidermis up to the stratum corneum; in light skin, it is mostly confined to the basal layer

These differences evolved as a balance between two competing pressures: protection from UV-induced DNA damage in high-UV environments, and the need for sufficient UVB penetration to synthesise vitamin D in low-UV environments.


Image: 3D illustration of a melanocyte distributing melanin to surrounding skin cells — Blausen.com staff (2014) via Wikimedia Commons, CC BY 3.0.


Sources

  • Brenner M, Hearing VJ. The Protective Role of Melanin Against UV Damage in Human Skin. Photochemistry and Photobiology, 2008. PMC2671032
  • StatPearls. Biochemistry, Melanin. NCBI Bookshelf, 2024. NBK459156
  • Coelho SG, et al. Regulation of Human Skin Pigmentation in situ by Repetitive UV Exposure — Molecular Characterisation of Responses to UVA and/or UVB. PMC, 2012. PMC3478754
  • Cui R, et al. Central Role of p53 in the Suntan Response and Pathologic Hyperpigmentation. Cell, 2007. PubMed 17382889
  • Nasti TH, Timares L. MC1R, Eumelanin and Pheomelanin: Their Role in Determining the Susceptibility to Skin Cancer. PMC, 2015. PMC4299862
  • Kaidbey KH, et al. Photoprotection by Melanin — A Comparison of Black and Caucasian Skin. Journal of the American Academy of Dermatology, 1979. PubMed
  • Tadokoro T, et al. Mechanisms of Skin Tanning in Different Racial/Ethnic Groups in Response to Ultraviolet Radiation. Journal of Investigative Dermatology, 2005. ScienceDirect
  • Praetorius C, et al. A Polymorphism in IRF4 Affects Human Pigmentation through a Tyrosinase-Dependent MITF/TFAP2A Pathway. Cell, 2013. Reported via Science
  • Alaluf S, et al. Ethnic Variation in Melanin Content and Composition in Photoexposed and Photoprotected Human Skin. Pigment Cell Research, 2002. PubMed 12950732
  • Del Bino S, et al. Significance of Melanin Distribution in the Epidermis for the Protective Effect Against UV Light. Scientific Reports, 2024. Nature

Know when to go out, and for how long

SafeTanning reads your local UV forecast and times each session by the UV dose your skin type can take, keeping every session below half your burn dose.

Download on the App Store

Frequently asked questions

What is melanin and what does it do?

Melanin is a natural pigment produced by specialised cells called melanocytes in your skin, hair, and eyes. Its primary function is to absorb UV radiation and protect the DNA inside your skin cells from damage. It is also what gives your skin its colour and produces the visible darkening known as a tan.

Do people with darker skin have more melanocytes?

No. All humans have roughly the same number of melanocytes — about 1,000–2,000 per square millimetre. The difference in skin colour comes from how much melanin those melanocytes produce and how the melanosomes (melanin packages) are distributed. Darker skin types produce more eumelanin and have larger, individually dispersed melanosomes.

What is the difference between eumelanin and pheomelanin?

Eumelanin is a brown-to-black pigment that absorbs over 99.9% of UV radiation and provides strong photoprotection. Pheomelanin is a yellow-to-red pigment that is photo-unstable and can actually generate free radicals when exposed to UV. The ratio of the two largely determines your skin tone and sun sensitivity.

Why does a tan take 2–3 days to appear?

A tan is the result of delayed tanning — a multi-step molecular process. UV exposure causes DNA damage, which activates the p53 protein within an hour. This triggers a signalling cascade (p53 → POMC → αMSH → MC1R → MITF) that upregulates melanin-producing enzymes. New melanin is synthesised over 48–72 hours and distributed to surrounding skin cells.

Does melanin provide enough sun protection on its own?

No. Even the darkest skin (Fitzpatrick Type VI) has a natural SPF of only about 13–17, which falls well short of the SPF 30 minimum recommended by dermatologists. Melanin primarily absorbs UVB, offering limited protection against UVA. All skin types benefit from broad-spectrum sunscreen.

Written with AI assistance from the sources listed, and checked against how SafeTanning works. This is general information, not medical advice. Spotted something wrong or out of date? Tell us at hello@safetanning.app.

Related reading

SafeTanningTan without burning
Get the app