Swatchproof

Chocolate #D2691E

Chocolate is one of the named colours in CSS, written chocolate. Black text reaches 5.78:1 on it, enough for body text.

Try on walls Preview on a website

Colour codes

CSS keywordchocolate
HEX#D2691E
RGBrgb(210 105 30)
HSLhsl(25 75% 47%)
OKLCHoklch(63.4% 0.155 50.3)
White text3.63:1 · body text AA Fail
Black text5.78:1 · body text AA Pass

Colours that go with Chocolate

The closest colour in Sanzo Wada's A Dictionary of Color Combinations is English Red (#D96629), nearly identical. These are the colours Wada paired it with, ranked by their contrast with Chocolate itself.

ColourHEXContrast with ChocolateBody text AA
Black#1113145.13:1Pass
Violet Blue#40456A2.54:1Fail
Ivory Buff#EBD3A22.49:1Fail
Cobalt Green#96D1AA2.08:1Fail
Light Glaucous Blue#A5C8D12.04:1Fail
Fawn#D1B0A71.81:1Fail
Ochraceous Salmon#D8A37B1.63:1Fail
Scarlet#CB2F431.44:1Fail
Raw Sienna#BB71251.05:1Fail
Peacock Blue#00939B1.02:1Fail
Cerulian Blue#0093A51.01:1Fail

Palettes with English Red

Shades and tints of Chocolate

Nine lightness steps in OKLCH that keep the hue of Chocolate. Chroma is reduced only where sRGB cannot show it.

:root {
  --chocolate-100: #FFF2EB;
  --chocolate-200: #FFDDCA;
  --chocolate-300: #FFBD98;
  --chocolate-400: #FE904D;
  --chocolate-500: #DB7129;
  --chocolate-600: #B15200;
  --chocolate-700: #873D00;
  --chocolate-800: #5F2900;
  --chocolate-900: #391600;
}

Text that keeps Chocolate on screen

Text #000000 on #D2691E reaches 5.78:1, which passes WCAG AA for body text. Check it on a dashboard

Similar CSS colours