Warm Pink & Dark Maroon
A vivid palette of 3 colors from the Afoli gallery: #2C0E17, #F04D81, #8BB114.
Open in the Afoli palette generator →
#2C0E17 · Midnight Blue#F04D81 · Pale Violet Red#8BB114 · Yellow Green
Colors in this palette
| HEX | RGB | HSL | CMYK | Nearest named color |
|---|---|---|---|---|
| #2C0E17 | rgb(44, 14, 23) | hsl(342, 52%, 11%) | 0, 68, 48, 83 | ≈ Midnight Blue |
| #F04D81 | rgb(240, 77, 129) | hsl(341, 84%, 62%) | 0, 68, 46, 6 | ≈ Pale Violet Red |
| #8BB114 | rgb(139, 177, 20) | hsl(75, 80%, 39%) | 21, 0, 89, 31 | ≈ Yellow Green |
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 · #2C0E17
ButtonContrast of the UI pairs
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Body text on background | 7.10 : 1 | 53 | Pass (WCAG) |
| Text on a card | 5.15 : 1 | 41 | Pass (WCAG) |
| Button label | 7.10 : 1 | -52 | Pass (WCAG) |
| Heading on background | 7.10 : 1 | 53 | Pass (WCAG) |
| Link on a card | 5.15 : 1 | 41 | Pass (WCAG) |
| Accent badge on a card | 5.15 : 1 | 41 | Pass (WCAG) |
| Primary control on background | 7.10 : 1 | 53 | Pass |
CSS variables
:root {
--midnight-blue: #2C0E17;
--pale-violet-red: #F04D81;
--yellow-green: #8BB114;
}
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 Warm Pink & Dark Maroon 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 Warm Pink & Dark Maroon can I use for text?
#2C0E17 text on #8BB114 reaches 7.10 : 1, the strongest pair of the palette.
Similar palettes
- Pinky Purple & Very Dark Purple
- Pea & Marine
- Darkish Pink & Dark Forest Green (Vivid)
- Pinky Purple & Eggplant
- Tomato Red & Seaweed
- Dark Pink & Dark Plum
Sources and licences
- Afoli palette gallery — own data, CC0 1.0 (scripts/color_palettes_build.mjs)
- CSS named colors (W3C) · xkcd color survey (CC0)