The present invention relates to the use of some amine and quaternary ammonium compounds for protecting hair colour of artificially coloured hair with respect to the washing. Use of a compound according to general structure (AA), wherein R1 is a saturated or unsaturated, straight or branched alkyl group with 8 to 24 C atoms, R2 is a straight or branched alkyl group with 1 to 4 C atoms, A is a group selected from O, formula (BB) and formula (CC), and B is selected from formula (DD) and formula (EE), R3 and R4 are the same or different, H or an alkyl with 1 to 4 C atoms, hydroxyl alkyl with 1 to 4 C atoms and di hydroxyl alkyl with 2 to 4 C atoms, R5, and R6 are the same or different, an alkyl with 1 to 4 C atoms, hydroxyl alkyl with 1 to 4 C atoms and di hydroxyl alkyl with 2 to 4 C atoms, R7 is an alkyl with 1 to 4 C atoms, hydroxyl alkyl with 1 to 4 C atoms or di hydroxyl alkyl with 2 to 4 C atoms or (FF), wherein R1, A and R2 have the above meaning and X is an anion such as chloride, bromide, and methosulfate, for protecting colour of artificially coloured hair with respect to the washing.La présente invention concerne lutilisation de certains composés amine et ammonium quaternaire pour protéger du lavage la couleur de cheveux artificiellement colorés. Lutilisation dun composé selon de structure générale R1 A R2 B dans laquelle R1 est un groupe alkyle linéaire ou ramifié, saturé ou non saturé ayant de 8 à 24 atomes C, R2 est un groupe alkyle linéaire ou ramifié ayant de 1 à 4 atomes C, A est un groupe choisi parmi O, la formule (i) et la formule (ii) et B est choisi parmi la formule (iii) et la formule (iv), R3 et R4 sont identiques ou différents, H ou un groupe alkyle ayant de 1 à 4 atomes C, hydroxyl alkyle ayant de 1 à 4 atomes C et di-hydroxyl alkyle ayant de 2 à 4 atomes C, R5 et R6 sont identiques ou différents, un groupe alkyle ayant de 1 à 4 atomes C, hydroxyl alkyle ayant de 1 à 4 atomes C et di-hydroxyl alkyle ayant de 2 à 4 atomes C, R7 est un groupe al