Health care providers do not know what causes melasma. It likely happens when pigment cells in the skin make too much color. People with darker skin tones are more at risk for melasma. This is because they have more melanocytes that darken the skin than people with lighter skin.