A hair-treating composition containing a diester or polyester of a naphthalene dicarboxylic acid having compound formula (I) or (II), or mixtures; for imparting gloss and / or hair color stabilization:wherein each R1, same or different, is an alkyl group having 1 to 22 carbon atoms, a diol having the structure HO-R2-OH, or a polyglycol having the structure HO-R3-(-O-R2-)m-OH, wherein R2 and R3, same or different, are each an alkylene group, sight chain or branched, having 1 to 6 carbon atoms, and wherein m and n are each 1 to about 100, or a mixture thereof. These diesters and polyesters of formula (I) or (II) are quite effective in stabilizing the dibenzoylmethane derivative UV-A filter compounds making them more effective, and effective for longer periods of time.