AfoliOpen Afoli →

Medium Pink & Almost Black

A vivid palette of 4 colors from the Afoli gallery: #002125, #9E5B00, #E66397, #00C2E6.

Open in the Afoli palette generator →

#002125 · Midnight Blue#9E5B00 · Sienna#E66397 · Pale Violet Red#00C2E6 · Deep Sky Blue

Colors in this palette

HEXRGBHSLCMYKNearest named color
#002125rgb(0, 33, 37)hsl(186, 100%, 7%)100, 11, 0, 85≈ Midnight Blue
#9E5B00rgb(158, 91, 0)hsl(35, 100%, 31%)0, 42, 100, 38≈ Sienna
#E66397rgb(230, 99, 151)hsl(336, 72%, 65%)0, 57, 34, 10≈ Pale Violet Red
#00C2E6rgb(0, 194, 230)hsl(189, 100%, 45%)100, 16, 0, 10≈ Deep Sky Blue

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 · #E66397
Button

Roles: background #002125, surface #002125, text #00C2E6, primary #E66397, accent #9E5B00 (assigned automatically).

Contrast of the UI pairs

PairWCAG 2.x ratioAPCA LcResult
Body text on background7.92 : 1-59Pass (WCAG)
Text on a card7.92 : 1-59Pass (WCAG)
Button label5.30 : 143Pass (WCAG)
Heading on background5.30 : 1-42Pass (WCAG)
Link on a card5.30 : 1-42Pass (WCAG)
Accent badge on a card3.17 : 1-24Pass (WCAG)
Primary control on background5.30 : 1-42Pass (WCAG)

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: #002125;
  --sienna: #9E5B00;
  --pale-violet-red: #E66397;
  --deep-sky-blue: #00C2E6;
}

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 Medium Pink & Almost Black 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 Medium Pink & Almost Black can I use for text?

#002125 text on #00C2E6 reaches 7.92 : 1, the strongest pair of the palette.

Similar palettes

Sources and licences

Updated November 21, 2026