Color Converter (HEX, RGB, HSL)→Specialized Version
🎨

Tan Hex Code

Tan is #D2B48C

HEX in
#D2B48C
RGB out
rgb(210, 180, 140)
RGB
HSL

All formats

Lightness variations

Tan Is #D2B48C

Tan is a light brown named for the tannin used in leather production. It is a common neutral background in editorial and packaging design, warm enough to soften a page without competing with content.

Every Format

FormatValue
HEX#D2B48C
RGBrgb(210, 180, 140)
HSLhsl(34, 44%, 69%)
CMYK0%, 14%, 33%, 18%
Nearest Tailwindorange-300 (#fdba74)
The HSL reading is the useful one for design work: hue 34°, saturation 44%, lightness 69%. Adjusting lightness while holding hue and saturation is how you build a consistent ramp; adjusting the hex directly is guesswork.

Contrast and Accessibility

CombinationRatioWCAG
Tan text on white1.97:1fails
Tan text on black10.65:1AAA
White text on tan1.97:1fails
WCAG AA requires 4.5:1 for body text and 3:1 for large text (18pt, or 14pt bold). AAA requires 7:1. Tan fails AA on white at any size. Use it for backgrounds, borders and large decorative shapes rather than text.

A Ramp Built From It

StepHex
100#695a46
200#8c785d
300#af9675
400#D2B48C
500#dac19f
600#e1cdb2
700#e9dac6
The dark end comes from mixing toward black and the light end from mixing toward white. Note that a perceptually even ramp is not an arithmetically even one — equal steps in lightness look uneven, which is why the middle of a hand-built ramp usually needs adjusting by eye.

Harmonies

RelationshipHex
Base#D2B48C
Complementary#8dabd3
Triadic#8dd3b5 and #b58dd3
A complementary pair is the highest-contrast combination on the colour wheel, which makes it excellent for a single accent and exhausting for a whole interface. The usual approach is one dominant colour, one complement used sparingly, and neutrals for everything else.

Print Reproduction

The CMYK values above are a mathematical conversion, not a press-ready specification. Screen colours are emitted light and print colours are reflected ink, and the screen gamut is larger — highly saturated values simply do not exist in CMYK.

For brand-critical work, specify a Pantone reference and let the printer match it rather than trusting a CMYK conversion.

A Full Ramp From This Colour

Design systems settle on a 50–900 scale because it covers backgrounds, borders, text and states without anyone reaching outside the palette. Mixing toward white and black rather than adjusting HSL lightness keeps more of the hue's character:

StepColourContrast on whiteSafe for
50#F5F9FF1.06:1backgrounds and fills
100#EBF3FE1.12:1backgrounds and fills
200#CEE0FD1.34:1backgrounds and fills
300#B1CDFB1.62:1backgrounds and fills
400#76A8F92.40:1backgrounds and fills
500#3B82F63.68:1large text, borders
600#326FD14.85:1body text on white
700#295BAC6.59:1body text on white
800#2048878.98:1body text on white
900#18346212.31:1body text on white
The contrast column is the one that decides usage. Steps below 3:1 cannot carry text at any size and belong in fills and dividers; steps at 4.5:1 and above are safe for body copy.

Adjusting It

Base colour in HSL is hsl(217, 91%, 60%). Two useful moves:

``css /* +10% lightness, same hue */ --lighter: #6da2f8; /* −10% lightness */ --darker: #0b64f4; ``

Raising lightness also drops perceived saturation, so a lightened colour reads greyer than its numbers suggest. Adding 5–10% saturation alongside every 20% of lightness keeps the ramp looking like one hue rather than a fade to grey.

Frequently Asked Questions

What is the hex code for tan?

#D2B48C. In other formats that is rgb(210, 180, 140), hsl(34, 44%, 69%), and approximately 0/14/33/18 in CMYK.

Is tan accessible for text?

Not on white at body-text size. The contrast ratio is 1.97:1 against the 4.5:1 that WCAG AA requires. Use it for surfaces and accents instead.

Why does this colour look different when printed?

Screens emit light and paper reflects it, and the RGB gamut is larger than CMYK. Saturated colours in particular have no exact ink equivalent, so the conversion approximates. For brand work, specify a Pantone reference rather than relying on a CMYK conversion.

Related Tools

Explore other tools you might find useful:

More Color Converter (HEX, RGB, HSL) tools

You might also need