Body pigmentation, or hyperpigmentation, is a skin condition where certain patches of skin become darker than the surrounding areas. This occurs due to an excess production of melanin, the pigment that gives skin its color. Various factors can lead to hyperpigmentation, including sun exposure, hormonal changes, genetic factors, and some medications.