The present invention relates to a cosmetic composition comprising: (i) one or more anionic associative polymers (i) comprising at least one unit of formula (I) and at least one unit of formula (II) below: (ii) one or more anionic fixing polymers comprising at least one unit of formula (III) and at least one unit of formula (IV) below: (iii) one or more anionic polymers, different from the anionic associative polymers (i) and from the anionic fixing polymers (ii), comprising: at least one (meth)acrylic acid monomer, at least one C1-C4 alkyl (meth)acrylate monomer, at least one (meth)acrylic ester monomer with a hydrophobic chain.