Coloring cosmetic composition comprising: a) one or more liquid fatty substances that support in its structure at least one hydrocarbon-based chain comprising at least 6 carbon atoms or a sequence of at least two siloxane groups; b) one or more amphoteric surfactants of the formula (I) below: Ra'-C (O) -NH-CH2- (CH2) nN (B) (B ') (I) in which: - B represents the group -CH2-CH2-O-X '; - B 'represents the group - (CH2) zY', with z>; = 1 or 2; - X 'represents the group -CH2-C (O) OH, -CH2-C (O) OZ', -CH2-CH2-C (O) OH or -CH2-CH2-C (O) OZ 'or an atom of hydrogen; - Y 'represents the group -C (O) OH, -C (O) OZ ", -CH2-CH (OH) -SO3H or the group -CH2-CH (OH) -SO3-Z"; - Z 'and Z "represent, independently of each other, a cationic counterion from an alkali metal or alkaline earth metal, such as sodium, an ammonium ion or an ion from an organic amine; - Ra' represents a C10 alkyl or alkenyl group -C30 from a Ra'-C (O) OH acid, which is preferably present in copra oil or in hydrolyzed flaxseed oil, an alkyl group, especially a C17 group and its iso form or an unsaturated C17 group and - n represents an integer ranging from 1 to 10 and preferably from 1 to 5, or its quaternized forms; c) one or more sulfate or sulphonate anionic surfactants; d) one or more oxidation dye precursors, the composition comprising at least 10% by weight of liquid fatty substances, with respect to the total weight of the composition.Composición cosmética colorante que comprende: a) una o más sustancias grasas líquidas que soportan en su estructura al menos una cadena basada en hidrocarburos que comprende al menos 6 átomos de carbono o una secuencia de al menos dos grupos siloxano; b) uno o más tensioactivos anfóteros de la fórmula (I) a continuación: Ra'-C(O)-NH-CH2-(CH2)n-N(B)(B') (I) en que: - B representa el grupo -CH2-CH2-O-X'; - B' representa el grupo -(CH2)zY', con z >;= 1 o 2; - X' representa el grupo -CH2-C(O)OH, -CH2-C(O)OZ', -CH2-CH2-C(O)OH o -CH2-CH2-C(O)OZ' o un átomo de hidrógeno; -