What is the name of the substance that gives skin and hair its pigment?

What is the name of the substance that gives skin and hair its pigment?
Twitter Google+ Share on Facebook