THE PRESENT INVENTION RELATES TO COMPOUNDS OF GENERAL FORMULA (I): WHEREIN X IS SELECTED FROM THE GROUP CONSISTING OF O OR S AND R IS A LINEAR OR BRANCHED, SATURATED OR UNSATURATED ALIPHATIC GROUP WITH FROM 2 TO 23 CARBON ATOMS (C2 TO C23), OR A CYCLIC GROUP, AND WHICH CAN CONTAIN SUBSTITUENTS SELECTED FROM THE GROUP CONSISTING OF HYDROXY, ALKOXY, AMINO, CARBOXYL, CYANO, NITRO, ALKYLSULFONYL OR HALOGEN ATOMS, A METHOD OF OBTAINING THEM, COSMETIC OR PHARMACEUTICAL COMPOSITIONS CONTAINING THEM AND THE USE THEREOF FOR TREATING, CARING FOR AND/OR CLEANING SKIN, HAIR AND/OR NAILS, PREFERABLY THOSE CONDITIONS, DISORDERS OR PATHOLOGIES OF THE SKIN, HAIR AND/OR NAILS WHICH REQUIRE REGULATING MELANOGENESIS.