Swatchproof

Tan #D2B48C

Tan is one of the named colours in CSS, written tan. Black text reaches 10.65:1 on it, enough for body text.

Try on walls Preview on a website

Colour codes

CSS keywordtan
HEX#D2B48C
RGBrgb(210 180 140)
HSLhsl(34 44% 69%)
OKLCHoklch(78.6% 0.064 74.6)
White text1.97:1 · body text AA Fail
Black text10.65:1 · body text AA Pass

Colours that go with Tan

The closest colour in Sanzo Wada's A Dictionary of Color Combinations is Ecru (#C2AE93), close. These are the colours Wada paired it with, ranked by their contrast with Tan itself.

ColourHEXContrast with TanBody text AA
Dark Tyrian Blue#12354E6.47:1Pass
Madder Brown#762C194.96:1Pass
Hay's Russet#7933274.60:1Pass
Vandar Poel's Blue#064F6E4.53:1Pass
Taupe Brown#7A44563.82:1Fail
Antwarp Blue#0071902.83:1Fail
Dark Medici Blue#5470762.69:1Fail
Etruscan Red#C553472.26:1Fail
Raw Sienna#BB71251.94:1Fail
Pale Lemon Yellow#FFEFAE1.71:1Fail
Lemon Yellow#F8ED431.61:1Fail
Nile Blue#BCE4E51.44:1Fail
Turquoise Green#B5DECC1.34:1Fail
Light Pinkish Cinnamon#FCC79B1.29:1Fail
Eosine Pink#F37F941.29:1Fail
Pale King's Blue#A7D4E41.24:1Fail
Cream Yellow#FDBF681.20:1Fail
Isabella Color#C5A56E1.19:1Fail
Grayish Lavender - B#C0A9B31.11:1Fail
Pinkish Cinnamon#EEB4801.08:1Fail
Olive Ocher#D6B43E1.02:1Fail
Vinaceous Cinnamon#EEA78C1.01:1Fail

Palettes with Ecru

Shades and tints of Tan

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

:root {
  --tan-100: #FFF3E4;
  --tan-200: #FEDFB6;
  --tan-300: #E7C8A0;
  --tan-400: #CAAC84;
  --tan-500: #AA8D66;
  --tan-600: #886C46;
  --tan-700: #6A502B;
  --tan-800: #4E350E;
  --tan-900: #301D00;
}

Text that keeps Tan on screen

Text #301D00 on #D2B48C reaches 8.18:1, which passes WCAG AA for body text. Check it on a dashboard

Similar CSS colours