AfoliOpen Afoli →

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

HEXRGBHSLCMYKNearest named color
#2C0E17rgb(44, 14, 23)hsl(342, 52%, 11%)0, 68, 48, 83≈ Midnight Blue
#F04D81rgb(240, 77, 129)hsl(341, 84%, 62%)0, 68, 46, 6≈ Pale Violet Red
#8BB114rgb(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
Button

Roles: background #8BB114, surface #F04D81, text #2C0E17, primary #2C0E17, accent #2C0E17 (assigned automatically).

Contrast of the UI pairs

PairWCAG 2.x ratioAPCA LcResult
Body text on background7.10 : 153Pass (WCAG)
Text on a card5.15 : 141Pass (WCAG)
Button label7.10 : 1-52Pass (WCAG)
Heading on background7.10 : 153Pass (WCAG)
Link on a card5.15 : 141Pass (WCAG)
Accent badge on a card5.15 : 141Pass (WCAG)
Primary control on background7.10 : 153Pass

WCAG 2.x needs 4.5 : 1 for body text and 3 : 1 for large text; APCA asks for |Lc| 75 for body text and 60 for large text.

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

Sources and licences

Updated November 21, 2026