The present invention relates to a composition comprising (i) a compound A that absorbs in the near visible- ultraviolet A (UVA) region and (ii) a compound B that absorbs in the ultraviolet B (UVB) region, wherein at least one of said compounds A or B is a compound of formula (I) wherein Y represents an optionally substituted aryl or styryl-aryl group, R1, R2, R3 and R4 independently of each other represent H, OH, ORa, NH2, NHRa, NRaRb, NO2 or halogen; wherein Ra and Rb independently of each other represent C1-C10 alkyl; and R5 and R6 independently of each other represent H, or alternatively R5 and R6 together form a C-C bond between the carbon atoms to which they are bound. The invention also relates to the use of said compound of formula (I) in the preparation of a photoprotective composition and to the related cosmetic treatment.