Hyperpigmentation occurs when the skin produces more melanin, the pigment that gives skin its color. This can make spots or patches of skin appear darker than surrounding areas. Hyperpigmentation is a common skin condition. It effects people of all skin types. However, certain types of hyperpigmentation occur more frequently in darker skin types