Cosmetic composition for making up and/or caring for keratin materials, comprising, in a cosmetically acceptable medium, (i) a supramolecular compound that may be obtained by reaction between: - at least one oil bearing at least one nucleophilic reactive function chosen from OH and NH 2, and - at least one junction group capable of establishing hydrogen bonds with one or more partner junction groups, each pairing of a junction group involving at least three hydrogen bonds, the said junction group bearing at least one isocyanate or imidazole reactive function capable of reacting with the reactive function borne by the oil, the said junction group also comprising at least one unit of formula or: in which: - R1 and R3, which may be identical or different, represent a divalent carbon-based radical chosen from (i) a linear or branched C 1 -C 32 alkyl group, (ii) a C 4 -C 16 cycloalkyl group and (iii) a C 4 -C 16 aryl group; optionally comprising 1 to 8 heteroatoms chosen from O, N, S, F, Si and P; and/or optionally substituted with an ester or amide function or with a C 1 -C 12 alkyl radical; or a mixture of these groups; - R2 represents a hydrogen atom or a linear, branched or cyclic, saturated or unsaturated, optionally aromatic, C 1 -C 32 carbon-based and especially hydrocarbon-based radical, which may comprise one or more heteroatoms chosen from O, N, S, F, Si and P; (ii) at least one oil, chosen from non volatile apolar hydrocarbon-based oils having a vapour pressure of less than 0.13 Pa (at ambient temperature (25°C)), and silicone oils, (iii) at least one dyestuff. (i) a supramolecular compound that may be obtained by reaction between: - at least one oil bearing at least one nucleophilic reactive function chosen from OH and NH 2, and - at least one junction group capable of establishing hydrogen bonds with one or more partner junction groups, each pairing of a junction group involving at least three hydrogen bonds, the said junction group bearing at least one isocyanate or imidazole reactive function capable of reacting with the reactive function borne by the oil, the said junction group also comprising at least one unit of formula or: in which: - R1 and R3, which may be identical or different, represent a divalent carbon-based radical chosen from (i) a linear or branched C 1 -C 32 alkyl group, (ii) a C 4 -C 16 cycloalkyl group and (iii) a C 4 -C 16 aryl group; optionally comprising 1 to 8 heteroatoms chosen from O, N, S, F, Si and P; and/or optionally substituted with an ester or amide function or with a C 1 -C 12 alkyl radical; or a mixture of these groups; - R2 represents a hydrogen atom or a linear, branched or cyclic, saturated or unsaturated, optionally aromatic, C 1 -C 32 carbon-based and especially hydrocarbon-based radical, which may comprise one or more heteroatoms chosen from O, N, S, F, Si and P; - at least one oil bearing at least one nucleophilic reactive function chosen from OH and NH 2, and - at least one junction group capable of establishing hydrogen bonds with one or more partner junction groups, each pairing of a junction group involving at least three hydrogen bonds, the said junction group bearing at least one isocyanate or imidazole reactive function capable of reacting with the reactive function borne by the oil, the said junction group also comprising at least one unit of formula or: in which: - R1 and R3, which may be identical or different, represent a divalent carbon-based radical chosen from (i) a linear or branched C 1 -C 32 alkyl group, (ii) a C 4 -C 16 cycloalkyl group and (iii) a C 4 -C 16 aryl group; optionally comprising 1 to 8 heteroatoms chosen from O, N, S, F, Si and P; and/or optionally substituted with an ester or amide function or with a C 1 -C 12 alkyl radical; or a mixture of these groups; - R2 represents a hydrogen atom or a linear, branched or cyclic, saturated or unsaturated, optionally aromatic, C 1 -C 32 carbon-based and especially hydrocarbon-based radical, which may comprise one or more heteroatoms chosen from O, N, S, F, Si and P; - R1 and R3, which may be identical or different, represent a divalent carbon-based radical chosen from (i) a linear or branched C 1 -C 32 alkyl group, (ii) a C 4 -C 16 cycloalkyl group and (iii) a C 4 -C 16 aryl group; optionally comprising 1 to 8 heteroatoms chosen from O, N, S, F, Si and P; and/or optionally substituted with an ester or amide function or with a C 1 -C 12 alkyl radical; or a mixture of these groups; - R2 represents a hydrogen atom or a linear, branched or cyclic, saturated or unsaturated, optionally aromatic, C 1 -C 32 carbon-based and especially hydrocarbon-based radical, which may comprise one or more heteroatoms chosen from O, N, S, F, Si and P; (ii) at least one oil, chosen from non volatile apolar hydrocarbon-based oils having a vapour pressure of less than 0.13 Pa (at ambient temperature (25°C)), and silicone oils, (iii) at least one dyestuff.