A cosmetic composition comprising a thickening polymer, a non-ionic surfactant, 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.