Skip to content
PantoneTools
orange
CSS Named Colors

Tan

tan · #D2B48C

HEX

#D2B48C

RGB

rgb(210, 180, 140)

CMYK

cmyk(0%, 14%, 33%, 18%)

HSL

hsl(34, 44%, 69%)

LAB

lab(75.0, 5.0, 24.4)

What is Tan?

Tan is the tan reference in the CSS Named Colors. Its sRGB value is #D2B48C (rgb 210, 180, 140). It sits in the orange family. The 147 named colors defined by the W3C CSS Color Module Level 4 specification — usable directly in CSS as keywords like 'crimson' or 'rebeccapurple'. See disclaimer for accuracy and trademark notes.

Accessibility

WCAG 2.1 contrast checks for Tan as a background.

Black text on this color

Sample text · 10.65 : 1
AA Normal
AA Large
AAA Normal
AAA Large

White text on this color

Sample text · 1.97 : 1
AA Normal
AA Large
AAA Normal
AAA Large

Shades, tints & tonal scale of Tan

An 11-step tonal scale derived from Tan (#D2B48C). Click any swatch to copy its HEX. Use these as a starting point for design tokens, hover states, and disabled states in a design system.

Copied #FBF9F6

50

#FBF9F6

#FBF9F6

Copied #F8F3ED

100

#F8F3ED

#F8F3ED

Copied #F1E7DA

200

#F1E7DA

#F1E7DA

Copied #E9DAC6

300

#E9DAC6

#E9DAC6

Copied #DDC7A9

400

#DDC7A9

#DDC7A9

Copied #D2B48C

500

#D2B48C

#D2B48C

Copied #B39977

600

#B39977

#B39977

Copied #89755B

700

#89755B

#89755B

Copied #5F513F

800

#5F513F

#5F513F

Copied #352D23

900

#352D23

#352D23

Copied #191611

950

#191611

#191611

Lighter tints (mixed with white)

Copied #DAC2A4

15%

#DAC2A4

Copied #E1CEB9

30%

#E1CEB9

Copied #E8DACB

45%

#E8DACB

Copied #EEE5DB

60%

#EEE5DB

Copied #F5EFE9

75%

#F5EFE9

Darker shades (mixed with black)

Copied #C3A782

15%

#C3A782

Copied #B39977

30%

#B39977

Copied #A1896A

45%

#A1896A

Copied #8B765B

60%

#8B765B

Copied #705F48

75%

#705F48

Color harmonies for Tan

Classic color-theory harmonies derived from rotating the hue of Tan. Use these to build accent palettes, brand systems, and accessible UI color pairings.

Complementary

180° opposite — strongest contrast

Copied #D2B48C

#D2B48C

#D2B48C

Copied #8DABD3

#8DABD3

#8DABD3

Triadic

Three colors 120° apart

Copied #D2B48C

#D2B48C

#D2B48C

Copied #8DD3B5

#8DD3B5

#8DD3B5

Copied #B58DD3

#B58DD3

#B58DD3

Analogous

Two neighbors ±30° on the wheel

Copied #D3928D

#D3928D

#D3928D

Copied #D2B48C

#D2B48C

#D2B48C

Copied #CED38D

#CED38D

#CED38D

Split-complementary

Base + two colors flanking its complement

Copied #D2B48C

#D2B48C

#D2B48C

Copied #8DCED3

#8DCED3

#8DCED3

Copied #928DD3

#928DD3

#928DD3

Tetradic

Two complementary pairs

Copied #D2B48C

#D2B48C

#D2B48C

Copied #ABD38D

#ABD38D

#ABD38D

Copied #8DABD3

#8DABD3

#8DABD3

Copied #B58DD3

#B58DD3

#B58DD3

Square

Four colors evenly spaced 90° apart

Copied #D2B48C

#D2B48C

#D2B48C

Copied #8DD392

#8DD392

#8DD392

Copied #8DABD3

#8DABD3

#8DABD3

Copied #D38DCE

#D38DCE

#D38DCE

Tan in every color space

Full conversion of Tan across the color spaces designers and developers actually use — including OKLCH (the perceptually-uniform space that powers Tailwind v4 and CSS Color Module Level 4) and HWB.

HEX

#D2B48C

RGB

rgb(210, 180, 140)

CMYK

cmyk(0%, 14%, 33%, 18%)

HSL

hsl(34, 44%, 69%)

HSV

hsv(34, 33%, 82%)

HWB

hwb(34 55% 18%)

CIE Lab

lab(75.0 5.0 24.4)

OKLCH

oklch(78.6% 0.064 74.6)

XYZ (D65)

xyz(47.63, 48.24, 31.61)

Copy-ready code for Tan

Drop-in snippets for CSS, Tailwind, Sass, iOS Swift, and Android XML. Click the copy button on any snippet to put it on your clipboard.

CSS

color: #D2B48C;
background-color: #D2B48C;

CSS variable

:root {
  --color-tan: #D2B48C;
}

Tailwind config

// tailwind.config.js
colors: {
  'tan': '#D2B48C',
}

Sass

$color-tan: #D2B48C;

Swift UIColor

UIColor(red: 0.824, green: 0.706, blue: 0.549, alpha: 1.0)

Android XML

<color name="tan">#D2B48C</color>

Closest match in every color system

The nearest Tan equivalent in every other color system on this site, ranked by ΔE2000 perceptual distance. Useful when translating between design-system, web-standard, and industrial color references.

Closest in CSS Named Colors

Top 6 ΔE2000-closest entries within the same collection.

Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.

Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.

Copied #C2B078

RAL 1001

#C2B078

Beige

Copied #C6A664

RAL 1002

#C6A664

Sand yellow

Copied #CAC4B0

RAL 7044

#CAC4B0

Silk grey

Copied #B8B799

RAL 7032

#B8B799

Pebble grey

Copied #E6D690

RAL 1015

#E6D690

Light ivory

Copied #BEBD7F

RAL 1000

#BEBD7F

Green beige

FAQ about Tan

What is the HEX code for Tan?

Tan (tan) has the HEX code #D2B48C. In RGB it is rgb(210, 180, 140), and in CMYK it is cmyk(0%, 14%, 33%, 18%).

What is the OKLCH value of Tan?

Tan converts to oklch(0.786 0.064 74.6). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.

Is Tan accessible for body text?

Used as a background, Tan has a contrast ratio of 10.65:1 with black text and 1.97:1 with white text. WCAG 2.1 AA requires 4.5:1 for normal text. The current recommendation is to use black text and verify in real UI context.

What is the closest Pantone to Tan?

The closest Pantone reference to Tan by ΔE2000 perceptual distance is Pantone 466 C (#C7B27E). Cross-system Pantone matching is approximate; for color-critical print work, verify with a physical Pantone guide.

What is the closest RAL color to Tan?

The closest RAL Classic reference to Tan by ΔE2000 distance is RAL 1001 (Beige, #C2B078). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.

What is the complementary color of Tan?

The complementary color (180° opposite on the HSL color wheel) of Tan is #8DABD3. Use it for high-contrast accents, error states, or call-to-action pairings.

Data provenance & source

CSS Named Colors (CSS Color Module Level 4)

The 147 named colors defined by the W3C CSS Color Module Level 4 specification. Origin: VGA (16) + X11 (rest) + 'rebeccapurple'. Use as a reference for web color names that all browsers natively support. Names like 'crimson' or 'rebeccapurple' work as CSS values without any framework.

Source type
derived
Confidence
high
License
W3C permissive document license
Last reviewed
2026-05-24

Workflow tags

css
web-standard
named-keyword
orange

CSS named colors are sRGB digital values defined for browsers. For print, convert to a process-appropriate color and proof against substrate.

CSS Named Colors · Tan — #D2B48C | PantoneTools