The present invention relates to a cosmetic composition, comprising:—an oil phase in an amount of 20% by weight or more, preferably from 25% to 50% by weight, and more preferably from 28% to 45% by weight, relative to the total weight of the composition, said oil phase including preferably at least one non-volatile oil, more preferably at least one non-volatile hydrocarbon-based oil and/or at least one non-volatile silicone oil, —a pulverulent phase in an amount of 40% by weight or more, preferably from 50% to 75% by weight, and more preferably from 55% to 70% by weight, relative to the total weight of the composition, —at least one hydrophobic film-forming polymer, —the cosmetic composition is obtainable, and preferably obtained, by a process comprising the steps of: —mixing said oil phase, said hydrophobic film-forming polymer(s), said pulverulent phase, and at least one additional solvent to prepare a slurry; and —shaping said slurry in a container by compression and/or aspiration to prepare the cosmetic composition.