Melanin

. A dark-brown to black pigment occurring in the hair, skin, and iris of the eye, that is responsible for tanning of the skin when exposed to the sunlight.