There are two main types of melanin: eumelanin and pheomelanin. Eumelanin is responsible for black and brown pigmentation and provides more effective protection against UV radiation. Pheomelanin produces red and yellow pigmentation and is less effective at protecting against UV radiation, making individuals with higher levels of pheomelanin more susceptible to UV damage.