Melanocytes are pigment cells in the skin. They produce melanin, the pigment that gives skin its natural color. Melanin also contributes to hair and eye color.