Pigmentation is the coloring of your skin, determined almost entirely by a pigment called melanin. Specialized cells deep in your skin produce melanin, package it, and distribute it to surrounding cells, where it acts as a natural shield against ultraviolet radiation. The amount and type of melanin your body makes is what gives your skin, hair, and eyes their color, and shifts in that production are behind everything from a summer tan to dark patches during pregnancy.
How Your Skin Produces Color
Melanin is manufactured by cells called melanocytes, which sit in the deepest layer of the outer skin (the epidermis). Each melanocyte has long, branch-like extensions and serves roughly 36 surrounding skin cells called keratinocytes. Inside each melanocyte are tiny compartments called melanosomes, where melanin is actually built and stored.
Once melanosomes are loaded with pigment, they travel along internal tracks to the tips of the melanocyte’s branches. From there, the neighboring keratinocytes essentially swallow them. The melanin then arranges itself like a cap over each keratinocyte’s nucleus, sitting between the DNA and incoming UV light. This is the core protective function of pigmentation: it physically shields your genetic material from radiation damage.
Here’s what surprises most people: regardless of skin color, everyone has roughly the same number of melanocytes. The difference between lighter and darker skin comes down to how much melanin those melanocytes produce, the size of the melanosomes, and how the pigment is distributed and broken down in the surrounding cells.
Two Types of Melanin
Your body makes two distinct forms of melanin, and the ratio between them heavily influences your natural coloring.
- Eumelanin is brown to black. It’s the dominant pigment in darker skin and dark hair, and it’s the more effective UV absorber of the two.
- Pheomelanin is yellow to red. It contains sulfur and is more abundant in people with red hair, fair skin, and freckles. Unlike eumelanin, pheomelanin can actually generate harmful molecules when exposed to UV light, which partly explains why lighter-skinned individuals are more vulnerable to sun damage.
Most people produce a mixture of both. Your genetics determine the baseline ratio, but UV exposure and hormonal signals can shift the balance toward more eumelanin production over time.
How UV Exposure Triggers Tanning
When ultraviolet light hits your skin, it sets off a chain reaction designed to ramp up your defenses. UV photons directly affect the DNA inside melanocytes, switching on genes that increase production of the key enzyme needed to build melanin. At the same time, the surrounding keratinocytes release a burst of signaling molecules that tell melanocytes to multiply, produce more pigment, extend their branches further, and resist dying off from the UV injury.
This is why a tan develops gradually over days rather than instantly. Your skin is literally manufacturing new pigment and distributing it outward. A UV-induced tan provides a natural sun protection factor (SPF) of roughly 3, meaning it blocks about two-thirds of UV rays. Even in the darkest skin tones, melanin’s protective effect tops out at about 10 to 15 times the protection of skin with no melanin at all, equivalent to somewhere around SPF 4 to possibly higher. That’s meaningful but far from complete, which is why sun protection matters across all skin tones.
The Fitzpatrick Scale of Skin Types
Dermatologists classify skin into six broad types based on how it responds to UV exposure. This system, called the Fitzpatrick scale, helps predict your risk of sunburn and pigmentation disorders.
- Type I: Pale white skin, often with red or blond hair and blue or green eyes. Always burns, never tans.
- Type II: Fair skin, burns easily and tans with difficulty.
- Type III: Darker white skin, sometimes burns mildly, gradually tans.
- Type IV: Light brown skin, burns only slightly, tans easily.
- Type V: Brown skin, rarely burns, tans darkly with ease.
- Type VI: Dark brown or black skin, never burns.
Your position on this scale reflects your melanocytes’ baseline activity and the proportion of eumelanin to pheomelanin. It also influences which pigmentation problems you’re most prone to. Types IV through VI are more susceptible to post-inflammatory darkening after acne or injuries, while types I and II face higher risks from cumulative sun damage.
Hormones and Pigmentation
Melanocytes carry receptors for estrogen and progesterone, which means hormonal shifts can directly alter how much melanin your skin produces. Estrogen is the bigger player: it increases the activity of the rate-limiting enzyme in melanin production, boosts the number of receptors on melanocyte surfaces, and enhances the transfer of pigment to surrounding cells. This is why pigmentation changes are so common during pregnancy, hormonal contraceptive use, and even across the menstrual cycle. Some women notice their skin darkens slightly during the second half of each cycle, when estrogen and progesterone peak.
Melasma, the brown or gray-brown patches that often appear on the cheeks, forehead, and upper lip, is closely tied to this hormonal mechanism. Skin affected by melasma shows an increase in estrogen receptors, and blocking those receptors in studies leads to a decrease in pigment production. Progesterone’s role is less clear. Some evidence suggests it increases melanocyte activity, while other studies show it may actually suppress melanin output without changing melanocyte numbers.
Common Causes of Dark Patches
When pigmentation increases in specific areas rather than evenly across the skin, it usually falls into a few categories.
Post-inflammatory hyperpigmentation (PIH) is the darkening that lingers after your skin heals from acne, eczema, a cut, or a burn. The inflammation triggers melanocytes to overproduce pigment, which gets deposited in both the upper and deeper layers of the skin. The deeper the pigment settles, the longer it takes to fade, sometimes months to over a year.
Sun spots, technically called solar lentigines, result from years of cumulative UV exposure. Unlike a tan, which fades when UV exposure stops, sun spots are caused by a localized increase in the actual number of melanocytes in that patch of skin, along with higher melanin output. This is what makes them persistent. They’re most common on the face, hands, and forearms, areas with the highest lifetime sun exposure. Freckles, by contrast, are more strongly genetic and tend to fade in winter because they result from increased melanin production in existing melanocytes rather than an increase in melanocyte numbers.
When Skin Loses Pigment
Pigmentation can also decrease, and the cause determines whether the change is reversible. In vitiligo, the immune system destroys melanocytes entirely, leaving sharply defined white patches that produce no melanin at all. Because the pigment-producing cells are gone rather than just sluggish, repigmentation requires melanocytes to migrate back in from the edges of the patches or from hair follicles, which is why treatment can be slow.
Albinism works differently. People with albinism have a normal number of melanocytes, but those cells can’t produce melanin properly due to inherited enzyme deficiencies. The machinery is there; it just doesn’t function. Other conditions like tinea versicolor (a common fungal skin infection) also reduce pigment without destroying melanocytes, which is why the color typically returns once the underlying cause is treated.
How Pigment Depth Is Assessed
If you visit a dermatologist for pigmentation concerns, one of the simplest tools they may use is a Wood’s lamp, a handheld light that emits ultraviolet light at a wavelength around 365 nanometers. Under this light, pigment sitting in the upper skin layers appears as sharply defined dark brown or black patches, while pigment lodged deeper in the skin looks more grey-blue and less distinct. This distinction matters because superficial pigment generally responds better to topical treatments, while deeper pigment is harder to reach and may require different approaches or simply more patience.

