Skin color comes from one pigment, but the story behind it involves genetics, sunlight, and evolution. The main factor is melanin, a pigment made by specialized cells called melanocytes in the outer layer of your skin. The amount, type, and distribution of melanin — plus how your genes direct those cells — determine whether your skin is very light, very dark, or somewhere in between.
That single pigment does more than color your skin. It also filters ultraviolet (UV) radiation from the sun, which is why skin color varies so much across the world. Understanding what drives that variation helps explain why skin tones differ, why they change with sun exposure, and why some skin types are more prone to burning or certain health conditions.
What Factors Contribute To Skin Color?
Melanin is the primary determinant, and it is produced in two main forms. Eumelanin is brown to black. Pheomelanin is red to yellow. The ratio of these two pigments, the total amount produced, and how they are packaged inside skin cells create the range of human skin tones.
Melanocytes are the cells that make melanin. They sit in the basal layer of the epidermis, the deepest part of your skin’s outer layer. These cells do not stay put. They extend branches that transfer pigment packets, called melanosomes, to nearby skin cells called keratinocytes. Those keratinocytes then carry the pigment as they move toward the skin surface.
Importantly, people of all skin colors have roughly the same number of melanocytes. What differs is how active those cells are and how much melanin they produce. Darker skin does not mean more melanocytes. It means those cells are more productive and package pigment differently.
Several factors shape the final result:
- Genetics. Many genes influence melanin production, type, and distribution. This is why skin tone runs in families but can also vary widely among siblings.
- Melanin type and amount. More eumelanin generally means darker skin. More pheomelanin contributes to lighter skin and red or yellow undertones.
- Melanosome packaging. In darker skin, melanosomes are larger and more evenly distributed. In lighter skin, they are smaller and clustered.
- Sun exposure. UV light can increase melanin production, causing a tan.
- Hormones and other pigments. Conditions like pregnancy can change skin tone through hormonal effects, and other pigments such as hemoglobin in blood vessels also affect visible color.
How Does Melanin Production Actually Work?
Melanin production is a chain of chemical steps inside melanocytes, and it depends on one key enzyme. That enzyme is called tyrosinase. It converts the amino acid tyrosine into the building blocks of melanin.
When tyrosinase activity is high, more melanin gets made. When it is low or absent, little or no melanin is produced. A complete lack of tyrosinase activity causes a condition called albinism, in which skin, hair, and eyes have little or no pigment.
Once melanin is made, it gets packaged into melanosomes. These packets travel to the ends of the melanocyte’s branches and are handed off to keratinocytes. From there, the pigment sits above the cell nucleus, positioned like a tiny umbrella over your DNA.
That positioning is not random. Melanin absorbs UV radiation and helps shield DNA from damage. This is the core reason skin color evolved to differ by region — it is a balance between protecting against UV damage and allowing enough UV through for the body to make vitamin D.
How Does Sun Exposure Change Skin Color?
UV radiation from the sun triggers melanocytes to ramp up melanin production. This is what causes a tan. The tan is your skin’s attempt to protect itself from further UV damage.
A tan is not a sign of health. It is a sign of DNA damage and a stress response. Any darkening from UV exposure reflects injury to skin cells, even if it looks even and attractive.
There are two phases to tanning. Immediate pigment darkening happens within minutes and fades quickly. It involves changes to existing melanin rather than new production. Delayed tanning develops over hours to days and reflects new melanin being made and distributed. This second phase can last for weeks.
People with lighter skin produce less eumelanin and tend to burn more easily. People with darker skin have more protection but are not immune to UV damage. Anyone can experience sunburn, and cumulative UV exposure raises skin cancer risk across all skin tones.
Why Does Skin Color Vary Around the World?
Skin color differences between populations largely reflect adaptation to local sunlight. This is one of the clearest examples of natural selection acting on humans.
Near the equator, sunlight is intense and consistent year-round. Higher melanin levels protect against UV damage, including damage that can lead to skin cancer and the breakdown of folate, a nutrient important for fetal development. Populations with deep ancestry in these regions generally evolved darker skin.
At higher latitudes, sunlight is weaker and, in winter, scarce. Lighter skin allows more UV to penetrate, which helps the body synthesize vitamin D. Populations with long ancestry in these regions generally evolved lighter skin.
This is a balancing act. Too much UV causes damage. Too little UV limits vitamin D production. Skin color reflects where a population’s ancestors lived and how their bodies balanced those pressures.
Migration and mixing have changed this picture. People now live far from where their ancestors evolved, and skin tones vary widely within single countries and families.
Do Genetics Alone Determine Skin Color?
Genetics set the baseline, but they are not the only influence. Skin color is a polygenic trait, meaning many genes contribute. This is why two parents with similar skin tones can have children with a range of tones.
Several genes are well known to influence pigmentation. These include genes that regulate melanin type, melanosome structure, and pigment transport. Small variations in any of these can shift skin tone.
Because so many genes are involved, skin color does not follow simple dominant or recessive patterns. It is not a single “light” or “dark” gene. It is the combined effect of many variants, each contributing a small amount.
Environmental and hormonal factors then layer on top. Sun exposure, certain medications, and hormonal changes can all alter visible skin tone over time. So the color you see is the result of your genes plus everything your skin has been exposed to.
Can Skin Color Change Over a Lifetime?
Your baseline skin color is largely set by genetics and stays fairly stable. But several things can change it temporarily or permanently.
Sun exposure is the most common cause of change. Tans fade when exposure stops. Repeated exposure over years can cause lasting darkening and uneven tone.
Hormonal shifts can also change skin color. Melasma is a common example, marked by dark patches on the face. It is often linked to pregnancy or hormonal contraceptives. It can fade after pregnancy but may persist.
Certain medical conditions and medications can darken or lighten skin. Inflammation, injury, and scarring can leave areas of increased or decreased pigment. Some of these changes are reversible; others are not.
If you notice a new, changing, or unusual spot on your skin, see a clinician. Changes in a mole or new dark patches can have many causes, and only a professional evaluation can determine what is happening.
Does Skin Color Affect Health Risks?
Skin color itself does not cause disease, but it correlates with certain health patterns. These patterns largely reflect melanin levels, sun exposure, and social factors rather than color as a direct cause.
Lighter skin has less natural UV protection, so it burns more easily and carries higher risk for some skin cancers. Darker skin has more protection but can still develop skin cancer, often in areas with less sun exposure such as the palms, soles, and under the nails. In darker skin, these cancers are sometimes diagnosed later, which can affect outcomes.
Darker skin also has a higher risk of developing hyperpigmentation and keloid scars after injury or inflammation. The reasons involve how melanocytes and connective tissue respond.
On the other side, lighter skin at high latitudes may make it harder to produce enough vitamin D from sunlight, particularly in winter. This is why some clinicians recommend vitamin D supplementation for certain groups. The evidence for who benefits most continues to develop.
It is also worth separating biology from social experience. Research consistently shows that exposure to discrimination and stress can affect health through pathways like chronic stress and reduced access to care. These are real health factors, distinct from skin biology itself.
Frequently Asked Questions
What is the main factor that determines skin color?
Melanin, a pigment made by melanocytes in the skin, is the main factor. The amount and type of melanin, plus how it is packaged, determine whether skin is light or dark.
Do people with darker skin have more melanocytes?
No, people of all skin tones have roughly the same number of melanocytes. In darker skin, those cells are more active and produce more melanin.
Can skin color change permanently?
Some changes, like those from melasma or scarring, can persist, while others fade over time. Your genetic baseline skin tone generally stays stable throughout life.
Why did different skin colors evolve?
Skin color largely reflects adaptation to local sunlight levels. Darker skin protects against UV damage near the equator, while lighter skin helps with vitamin D production at higher latitudes.

