The answer is melanin, entirely. White hair is the color of bare keratin with no melanin left in it at all.
Eumelanin and pheomelanin are the two pigment types that combine to make natural hair color, so naming just one of them would be incomplete — white hair is missing both. That's different from gray hair, which still has some melanin left, just at a reduced level.
This is 1 of the real Hair Science questions in fadejunkie's 299-question bank. See the Hair Science practice questions page for a fuller sample, or try the Hair Science practice quiz and flashcards for free. A one-time $15 lifetime pass unlocks the complete question bank across all 13 tested topics.
More real Hair Science questions: What's NOT a Factor in Choosing Hair Products?, What's the Average pH of Hair and Skin?, What Hair Texture Has a Hard, Glassy Finish?, What Is Hair Texture?, and 28 more on the Hair Science practice questions page.
Browse every topic on the Practice Question Hub, or see the Texas Barber State Board Exam Guide for the full exam process — required hours, PSI scheduling, and fees.