I specifically told him I didn't want this hairstyle.
I specifically told him I don't want this hairstyle.
Said to a family member after the haircut several hours later.
Are both okay?
Yes but as always with these questions about reported speech, it's almost always correct to backshift to the past tense (first sentence), and rarely necessary to report it in the present tense (second sentence).