AfoliOpen Afoli →

Chestnut & Gainsboro

A dark palette of 4 colors from the Afoli gallery: #00050C, #002743, #562F00, #EAD9C9.

Open in the Afoli palette generator →

#00050C · Black#002743 · Midnight Blue#562F00 · Maroon#EAD9C9 · Gainsboro

Colors in this palette

HEXRGBHSLCMYKNearest named color
#00050Crgb(0, 5, 12)hsl(215, 100%, 2%)100, 58, 0, 95≈ Black
#002743rgb(0, 39, 67)hsl(205, 100%, 13%)100, 42, 0, 74≈ Midnight Blue
#562F00rgb(86, 47, 0)hsl(33, 100%, 17%)0, 45, 100, 66≈ Maroon
#EAD9C9rgb(234, 217, 201)hsl(29, 44%, 85%)0, 7, 14, 8≈ Gainsboro

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 · #562F00
Button

Roles: background #EAD9C9, surface #EAD9C9, text #00050C, primary #562F00, accent #002743 (assigned automatically).

Contrast of the UI pairs

PairWCAG 2.x ratioAPCA LcResult
Body text on background14.87 : 185Pass
Text on a card14.87 : 185Pass
Button label8.47 : 1-77Pass
Heading on background8.47 : 176Pass
Link on a card8.47 : 176Pass
Accent badge on a card11.13 : 181Pass
Primary control on background8.47 : 176Pass

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 {
  --black: #00050C;
  --midnight-blue: #002743;
  --maroon: #562F00;
  --gainsboro: #EAD9C9;
}

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 Chestnut & Gainsboro 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 Chestnut & Gainsboro can I use for text?

#00050C text on #EAD9C9 reaches 14.87 : 1, the strongest pair of the palette.

Similar palettes

Sources and licences

Updated November 21, 2026