The subject is a "she", you're right, but the article is referring to the noun "pelo" which is masculine "el pelo" (not la pelo)- the article goes with the name after.
I hope it helped.
Sign in to submit your answer
Don't have an account yet? Join today
Test your Spanish to the CEFR standard