The present invention relates to an anhydrous cosmetic or dermatological composition comprising, in a physiologically acceptable support: a) at least one merocyanine compound of formula (1 ) or (2) and b) at least one oily phase. Another subject of the present invention consists of a non-therapeutic cosmetic process for caring for and/or making up a keratin material, comprising the application, to the surface of the said keratin material, of at least one composition according to the invention as defined above. The invention also relates to a non-therapeutic cosmetic process for limiting the darkening of the skin and/or improving the colour and/or uniformity of the complexion, comprising the application, to the surface of the keratin material, of at least one composition as defined previously. The invention also relates to a non-therapeutic cosmetic process for preventing and/or treating the signs of ageing of a keratin material, comprising the application, to the surface of the keratin material, of at least one composition as defined previously.