Melanin production, or melanogenesis, begins with the amino acid tyrosine. The enzyme tyrosinase catalyzes the conversion of tyrosine to dopaquinone, which is subsequently converted into different forms of melanin, such as eumelanin (brown or black pigment) and pheomelanin (red or yellow pigment). The balance between these types of melanin determines the color of an individual's skin and hair.