Notification
Go to Home All Tools Compare Glossary Blog Contact

Tan Color Code: HEX, RGB, HSL and CMYK

Tan is #d2b48c in hex, rgb(210, 180, 140) in RGB and hsl(34, 44%, 69%) in HSL. Copy any format, check contrast and see shades and matching colours.

Client-Side (Private)
HEX #d2b48c
RGB rgb(210, 180, 140)
HSL hsl(34, 44%, 69%)
HSV hsv(34, 33%, 82%)
CMYK cmyk(0%, 14%, 33%, 18%)
Contrast on white 1.97:1
Live Preview
#d2b48c Tan
e.g. tan
Quick try:
Converted Result (ALL)

How to use tan in CSS

Step-by-step mathematical method you can verify by hand

  1. Use the colour name: color: tan; or background: tan;
  2. Or use the hex code: color: #d2b48c;
  3. Or use RGB: color: rgb(210, 180, 140); and add transparency with rgba or rgb(... / 50%).
  4. Or use HSL to adjust it: hsl(34, 44%, 69%). Raise the last number to lighten, lower it to darken.

Tan in every format

Worked Hand Example
FormatValue
HEX#d2b48c
RGBrgb(210, 180, 140)
HSLhsl(34, 44%, 69%)
HSVhsv(34, 33%, 82%)
CMYKcmyk(0%, 14%, 33%, 18%)
Decimal13808780
tan = #d2b48c.

Shades and tints of tan

The hue and saturation of tan stay the same and only the HSL lightness changes, so every row is the same colour family.

ShadeHEXHSL lightness
Lightest #f1e7da 90%
Lighter #dbc3a3 75%
Light #c69f6c 60%
Tan #d3b58d 69%
Dark #936c39 40%
Darker #5c4424 25%
Darkest #2c2111 12%

Colours that go with tan

Colour-wheel harmonies calculated by rotating the hue.

HarmonyHEXRGB
Complementary #8caad2 rgb(140, 170, 210)
Analogous (+30°) #cdd28c rgb(205, 210, 140)
Analogous (−30°) #d2918c rgb(210, 145, 140)
Triadic (+120°) #8cd2b4 rgb(140, 210, 180)
Triadic (+240°) #b48cd2 rgb(180, 140, 210)
Split-complementary (+150°) #8ccdd2 rgb(140, 205, 210)
Split-complementary (+210°) #918cd2 rgb(145, 140, 210)

Contrast of tan with black and white text

WCAG 2.x contrast ratios.

Text colourRatioAA normal (4.5)AA large (3)
White 1.97:1 Fail Fail
Black 10.65:1 Pass Pass

More colour codes

Quickly jump to other conversions and color systems

Education

About this converter

01

Exact and Explained

Tan is #d2b48c in hex, rgb(210, 180, 140) in RGB and hsl(34, 44%, 69%) in HSL. Copy any format, check contrast and see shades and matching colours. The worked example and tables on this page are calculated from the numbers themselves, so you can check the result by hand.

02

Privacy

The conversion runs in your browser. Nothing you type is sent to a server.

Good to know

Questions, answered

Quick answers about how this tool works.

tan is #d2b48c in hex, rgb(210, 180, 140) in RGB and hsl(34, 44%, 69%) in HSL.

tan is rgb(210, 180, 140). In the simple CMYK formula it is cmyk(0%, 14%, 33%, 18%) (a screen conversion, not a print profile).

Yes. You can write color: tan; in CSS and it means exactly #d2b48c.

Black text has a contrast ratio of 10.65:1 and white text 1.97:1 on this colour. Black is the better choice. WCAG AA needs 4.5:1 for normal text.

Was this tool helpful?

★ 5.0 • 2 user ratings

Tap a star to rate instantly

What do you need to work out next?

Search 278+ free tools by name, or pick a category below. Every one runs instantly in your browser — no signup, nothing to install.

More Developer Tools
AI ADVISOR & COACH

Ask AI Advisor

Ask AI