A cosmetic composition comprising a thickening polymer having hydrophobic and hydrophilic portions, a non-ionic surfactant, a neutralising 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 colouring and/or sculpting hair.