The present invention relates to a composition for coating keratin materials, more particularly for making up and/or caring for keratin materials, containing:at least one aqueous phase gelled with at least one hydrophilic gelling agent selected from synthetic polymeric gelling agents, mixed silicates, fumed silicas, and mixtures thereof; andat least one oily phase gelled with at least one lipophilic gelling agent; said phases forming therein a macroscopically homogeneous mixture and said composition also comprising:at least one hydrophobic-coated pigment; andat least one liquid fatty acid of formula (1) below:in which R is chosen from:a) a saturated, branched C14-C22, preferably C18, alkyl group, orb) an alkyl group comprising at least one linear or branched C14-C22, preferably C18, double bond; and/orat least one glycol compound of formula (2) below:CH3—;[CH2CH2]m—;[COO]n—;CH2—;CH(OH)—;CH2OH ; ; (2)in which:m is between 2 and 4n is equal to 0 or 1; said gelled oily phase comprising at least one polar oil when the composition comprises at least one glycol compound of formula (2); said gelled aqueous phase comprising at least one synthetic polymeric gelling agent and said gelled oily phase comprising at least one polar oil when the composition comprises at least one glycol compound of formula (2).