A pigment formulation containing (i) at least one organic and/or inorganic pigment, (ii) a dispersant of formula or, or mixtures of dispersants of formulae and, where a = 0.001 - 0.9 b = 0.001 - 0.9 c = 0.001 - 0.9 d = 0.001 - 0.9 subject to the proviso that the sum of a + b + c + d equals 1; A represents C 2 - to C 4 -alkylene, B represents a C 2 - to C 4 -alkylene other than A, R represents hydrogen or methyl, m is from 1 to 500; n is from 1 to 500, subject to the proviso that the sum m + n equals 2 to 1000; D represents C 3 -alkylene, o is from 2 to 500; X a represents an aromatic or araliphatic radical having 3 to 30 carbon atoms which optionally contains heteroatoms from the group consisting of N, O and S, Z a represents H or (C 1 -C 4)-alkyl, Z b represents H or (C 1 -C 4)-alkyl, Z c represents H or (C 1 -C 4)-alkyl; R 1 represents hydrogen or methyl, X b represents an aromatic or araliphatic radical having 3 to 30 carbon atoms which optionally contains heteroatoms from the group consisting of N, O and S, W a represents oxygen or an NH group; R 2 represents hydrogen or methyl, Y represents an aliphatic hydrocarbyl radical having 1 to 30 carbon atoms, which may be linear or branched or else cyclic, and which may contain heteroatoms from the group consisting of O, N and S, and may also be unsaturated, W b represents oxygen or an NH group; Q represents SO 3, CH 2 COO, PO 3 M, or QM represents M represents H, a metal cation or ammonium, an alkylated ammonium ion, or a combination thereof. (i) at least one organic and/or inorganic pigment, (ii) a dispersant of formula or, or mixtures of dispersants of formulae and, where a = 0.001 - 0.9 b = 0.001 - 0.9 c = 0.001 - 0.9 d = 0.001 - 0.9 subject to the proviso that the sum of a + b + c + d equals 1; A represents C 2 - to C 4 -alkylene, B represents a C 2 - to C 4 -alkylene other than A, R represents hydrogen or methyl, m is from 1 to 500; n is from 1 to 500, subject to the proviso that the sum m + n equals 2 to 1000; D represents C 3 -alkylene, o is from 2 to 500; X a represents an aromatic or araliphatic radical having 3 to 30 carbon atoms which optionally contains heteroatoms from the group consisting of N, O and S, Z a represents H or (C 1 -C 4)-alkyl, Z b represents H or (C 1 -C 4)-alkyl, Z c represents H or (C 1 -C 4)-alkyl; R 1 represents hydrogen or methyl, X b represents an aromatic or araliphatic radical having 3 to 30 carbon atoms which optionally contains heteroatoms from the group consisting of N, O and S, W a represents oxygen or an NH group; R 2 represents hydrogen or methyl, Y represents an aliphatic hydrocarbyl radical having 1 to 30 carbon atoms, which may be linear or branched or else cyclic, and which may contain heteroatoms from the group consisting of O, N and S, and may also be unsaturated, W b represents oxygen or an NH group; Q represents SO 3, CH 2 COO, PO 3 M, or QM represents M represents H, a metal cation or ammonium, an alkylated ammonium ion, or a combination thereof. a = 0.001 - 0.9 b = 0.001 - 0.9 c = 0.001 - 0.9 d = 0.001 - 0.9 A represents C 2 - to C 4 -alkylene, B represents a C 2 - to C 4 -alkylene other than A, R represents hydrogen or methyl, m is from 1 to 500; n is from 1 to 500, D represents C 3 -alkylene, o is from 2 to 500; X a represents an aromatic or araliphatic radical having 3 to 30 carbon atoms which optionally contains heteroatoms from the group consisting of N, O and S, Z a represents H or (C 1 -C 4)-alkyl, Z b represents H or (C 1 -C 4)-alkyl, Z c represents H or (C 1 -C 4)-alkyl; R 1 represents hydrogen or methyl, X b represents an aromatic or araliphatic radical having 3 to 30 carbon atoms which optionally contains heteroatoms from the group consisting of N, O and S, W a represents oxygen or an NH group; R 2 represents hydrogen or methyl, Y represents an aliphatic hydrocarbyl radical having 1 to 30 carbon atoms, which may be linear or branched or else cyclic, and which may contain heteroatoms from the group consisting of O, N and S, and may also be unsaturated, W b represents oxygen or an NH group; Q represents SO 3, CH 2 COO, PO 3 M,