Mauve & Aubergine
A earthy palette of 3 colors from the Afoli gallery: #3F1C34, #AB6977, #FFC0E2.
Open in the Afoli palette generator →
#3F1C34 · Midnight Blue#AB6977 · Indian Red#FFC0E2 · Pink
Colors in this palette
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #3F1C34 | rgb(63, 28, 52) | hsl(319, 38%, 18%) | 0, 56, 17, 75 | ≈ Midnight Blue |
| #AB6977 | rgb(171, 105, 119) | hsl(347, 28%, 54%) | 0, 39, 30, 33 | ≈ Indian Red |
| #FFC0E2 | rgb(255, 192, 226) | hsl(328, 100%, 88%) | 0, 25, 11, 0 | ≈ Pink |
Preview in a UI
A heading in the primary color
Body text on the background, as a page or an app would show it.
Text on a card · #AB6977
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 9.73 : 1 | -76 | Pass |
| Text on a card | 9.73 : 1 | -76 | Pass |
| Button label | 3.52 : 1 | 31 | Fail |
| Heading on background | 3.52 : 1 | -29 | Pass (WCAG) |
| Link on a card | 3.52 : 1 | -29 | Fail |
| Accent badge on a card | 3.52 : 1 | -29 | Pass (WCAG) |
| Primary control on background | 3.52 : 1 | -29 | Pass (WCAG) |
CSS variables
:root {
--midnight-blue: #3F1C34;
--indian-red: #AB6977;
--pink: #FFC0E2;
}
How this palette was made
Afoli generated it from a fixed seed and kept it because it passes the gallery rules: every color is clearly distinct, one pair reaches 4.5 : 1 for text and the colors span a wide light-to-dark range. It is free to use (CC0).
Frequently asked questions
How do I use the Mauve & Aubergine palette in CSS?
Copy the CSS variables on this page, or open the palette in the Afoli generator to export Tailwind, JSON, SVG, PNG or Adobe ASE.
Which colors of Mauve & Aubergine can I use for text?
#3F1C34 text on #FFC0E2 reaches 9.73 : 1, the strongest pair of the palette.
Similar palettes
- Dark Lavender & Pastel Pink
- Dusty Lavender & Eggplant
- Greyish Pink & Dark Brown
- Eggplant & Pale Lilac
- Dusty Lavender & Dark Plum
- Faded Purple & Pale Pink
Sources and licences
- Afoli palette gallery — own data, CC0 1.0 (scripts/color_palettes_build.mjs)
- CSS named colors (W3C) · xkcd color survey (CC0)