Skin has an outer layer made of a protein Keratin.
Keratin is the skin pigment that protects it against ultraviolet light.