The invention relates to a cosmetic composition which comprises: (i) at least 10% by weight of one or more anionic surfactants, relative to the total weight of the composition, (ii) one or more fatty acids, and (iii) a or more inorganic pearlescent agents, the weight ratio of anionic surfactant (s) / fatty acid (s) being less than or equal to 3. It also relates to its use for washing and conditioning hair. L'invention concerne une composition cosmétique qui comprend : (i) au moins 10 % en poids d'un ou plusieurs tensioactifs anioniques, par rapport au poids total de la composition, (ii) un ou plusieurs acides gras, et (iii) un ou plusieurs agents nacrants minéraux, le rapport pondéral tensioactif(s) anionique(s)/acide(s) gras étant inférieur ou égal à 3. Elle concerne aussi son utilisation pour le lavage et le conditionnement des cheveux.