AfoliOpen Afoli →

Tan color #D2B48C

Tan is one of the CSS named colors (keyword tan) with the hex code #D2B48C — RGB 210, 180, 140, HSL 34°, 44%, 69%.

Open in Afoli Colour tools →

#D2B48CTan

Color codes

HEX
#D2B48C
RGB
rgb(210, 180, 140)
HSL
hsl(34, 44%, 69%)
CMYK
0%, 14%, 33%, 18%
OKLCH
oklch(78.6% 0.064 74.6)
CSS keyword
tan

Tints and shades

#FFF3E3#F4D5AC#D8BA92#BEA179#A48761#8B6F49#725832#5B411B#442C03#2B1900#130900

Color harmonies

Complementary
#D2B48C#9EBCE2
Analogous
#DDAD98#D2B48C#BFBC8D
Triadic
#D2B48C#88C7C6#C9AED6
Split complementary
#D2B48C#8DC3D8#B4B4E1
Tetradic
#D2B48C#93C7AF#9EBCE2#D8A9C3

Contrast with text

PairWCAG 2.x ratioAPCA LcResult
Tan text on white1.97 : 138Fails for text
Tan text on black10.65 : 1-64AAA — any text
White text on Tan1.97 : 1-42Fails for text
Black text on Tan10.65 : 166AAA — any text

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.

Palettes with this color

Frequently asked questions

What is the hex code of Tan?

Tan has the hex code #D2B48C, which is RGB 210, 180, 140 and HSL 34°, 44%, 69%.

Which text color reads best on Tan?

Black text: contrast 10.65 : 1 (white text: 1.97 : 1).

Which colors go well with Tan?

Its complementary color is #9EBCE2; analogous colors are #DDAD98 and #BFBC8D; a triadic set adds #88C7C6 and #C9AED6.

Similar colors

Sources and licences

Updated November 21, 2026