A cosmetic composition comprising a thickening polymer having hydrophobic and hydrophilic portions, a non-ionic surfactant, a neutralizing agent, a non-ionic kosmotrope and water. Also, a hair colorant formulation obtained from mixing said composition and a hair dye. Also, the use of said formulation for coloring and/or sculpting hair.