Tan Color Palette

Tan is hex #D2B48C, rgb(210, 180, 140). Tan is a pale brown named after tanned leather. It is a CSS named color and a reliable warm accent for leather, outdoor and heritage looks.

By Mohamed Farhan · Updated Oct 19, 2026

Tan
#D2B48Crgb(210, 180, 140) · hsl(34, 44%, 69%)
50
100
200
300
400
500
600
700
800
900
950

Tan color codes

HEX#D2B48C
RGBrgb(210, 180, 140)
HSLhsl(34, 44%, 69%)
CMYKcmyk(0%, 14%, 33%, 18%)
CSS variable--tan: #D2B48C;
Tailwind classbg-[#D2B48C]

Reading the tan color codes

The hex code #D2B48C is three pairs of base-16 numbers for red, green and blue. D2 is 210, B4 is 180 and 8C is 140, each on a scale from 0 to 255. That is why the same color is written rgb(210, 180, 140) in CSS. The red channel is the strongest here, which is what gives tan its orange character.

HSL describes the same color the way people think about it. A hue of 34 degrees places tan in the orange part of the color wheel. Saturation of 44% makes it moderately saturated, and lightness of 69% makes it a light color. HSL is the easiest format to adjust by hand: keep the hue, then raise or lower lightness to create tints and shades that stay in the same family.

For print, the approximate CMYK mix is 0% cyan, 14% magenta, 33% yellow and 18% black. Screen and print colors never match perfectly, because monitors emit light while ink absorbs it, so always proof a printed sample before committing to tan for packaging or stationery. See MDN's guide to CSS color values for every format browsers accept.

Tan shades and tints

A full 50 to 950 scale built around #D2B48C, so you can use tan for backgrounds, borders, buttons and text without leaving the family. Click any shade to copy it.

Tailwind config
// tailwind.config.js
theme: {
  extend: {
    colors: {
      "tan": {
        50: "#F5EEE4",
        100: "#ECDFCE",
        200: "#E3D1B8",
        300: "#DBC2A2",
        400: "#D2B48C",
        500: "#B99E7B",
        600: "#A1896A",
        700: "#887358",
        800: "#6F5E47",
        900: "#564836",
        950: "#3E3325",
      },
    },
  },
}
CSS variables
:root {
  --tan-50: #F5EEE4;
  --tan-100: #ECDFCE;
  --tan-200: #E3D1B8;
  --tan-300: #DBC2A2;
  --tan-400: #D2B48C;
  --tan-500: #B99E7B;
  --tan-600: #A1896A;
  --tan-700: #887358;
  --tan-800: #6F5E47;
  --tan-900: #564836;
  --tan-950: #3E3325;
}

A shade-by-shade guide to tan

The 50 to 950 scale above follows the same structure as Tailwind's built-in palettes, so each step has a natural job. The lightest steps, 50 (#F5EEE4) and 100 (#ECDFCE), are page and card backgrounds: they carry the tan mood without competing with content. Steps 200 (#E3D1B8) and 300 (#DBC2A2) suit borders, dividers, hover states and selected rows.

The middle of the scale, 400 to 600, is where tan is most recognizable, so use it for brand moments, illustrations and primary buttons. White text reaches the 4.5:1 body-text contrast minimum from step 700 upward, so use step 700 or darker when a button label needs to be white. Near-black text stays readable on steps 50 to 600.

The darkest steps, 800 (#6F5E47) through 950 (#3E3325), make headings, body text and dark-mode surfaces that stay clearly related to tan. Using step 900 or 950 for text instead of pure black is one of the simplest ways to make an interface feel designed rather than default.

Colors that go with tan

Saddle (hand-picked)
Complementary
Analogous
Triadic
Split complementary
Monochromatic

How the tan color combinations work

Complementary. Directly across the color wheel from tan is #8CAAD2, which sits closest to sky blue among common named colors. Complementary pairs create the strongest contrast of hue, so use the second color sparingly, for a single call to action or highlight, rather than in equal amounts.

Analogous. #D2918C and #CDD28C sit 30 degrees either side of tan. Analogous palettes feel calm and cohesive because the colors share undertones; they are ideal for illustrations, gradients and backgrounds where you want harmony more than contrast.

Triadic and split complementary. The triadic set (#8CD2B4 and #B48CD2) is evenly spaced around the wheel and feels playful; the second color is closest to seafoam green. The split complementary set (#8CCDD2 and #918CD2) keeps much of the complementary contrast but is easier to balance, which makes it a good choice for data visualization and multi-category tags.

Monochromatic. The monochromatic set runs from #F4ECE2 to #956E3A. A single-hue palette is the safest way to build a calm, premium interface: rely on lightness for hierarchy, then add one neutral and one accent if you need emphasis.

Tan compared with similar colors

dusty rose (#DCAE96) is about as light and more saturated, and leans back the wheel toward orange. Choose dusty rose if you want a softer, airier version; choose tan if you want its specific balance of brightness and color.

khaki (#C3B091) is about as light and more muted, and shares almost the same hue. Choose khaki if you need more weight and contrast; choose tan if you want its specific balance of brightness and color.

sand (#C2B280) is darker (63% vs 69% lightness) and more muted, and leans further around the wheel toward yellow-orange. Choose sand if you need more weight and contrast; choose tan if you want its specific balance of brightness and color.

Tan in a real interface

Swatches only tell half the story. Here tan carries the primary action, with tints from its own scale for the surface and panels.

NorthwindOverviewReportsTeam

Weekly summary

Revenue grew 12% this week. Three invoices are waiting for approval.

Approve invoicesView report
Pipeline+12%

Using tan in UI: buttons, text, backgrounds and dark mode

  • Buttons. White labels on tan only reach 1.97:1, so use dark text (10.65:1 with black) or a deeper shade for the button.
  • Text. Avoid tan for body text on white; use step 700 or darker for links and headings that need to read as tan.
  • Backgrounds. Use steps 50 and 100 for large areas and keep the base color for smaller surfaces. Big blocks of a moderately saturated light color draw attention, so give them a reason, like a hero section or pricing highlight.
  • Dark mode. Steps 900 and 950 make a dark surface tinted with tan. On dark backgrounds the base color often needs a lighter step (300 or 400) to keep enough contrast for icons and borders, as required by WCAG non-text contrast.
  • States. Shift one step darker for hover and two steps darker for pressed. Keep focus rings in a contrasting color so keyboard users can always see them.

Contrast and accessibility

AaWhite text on tan1.97:1Fail
AaBlack text on tan10.65:1AAA
AaTan text on white1.97:1Fail
AaTan 900 text on tan 507.67:1AAA

AA needs 4.5:1 for body text and 3:1 for large text. AAA needs 7:1.

Color contrast is measured as a ratio from 1:1 (no contrast) to 21:1 (black on white). Tan scores 1.97:1 against white (Fail) and 10.65:1 against black (AAA). The WCAG 2.1 contrast guideline asks for at least 4.5:1 for normal text and 3:1 for large text, which is why the shade guide above recommends specific steps for text and labels.

Contrast is only half of accessibility. Around 1 in 12 men and 1 in 200 women have some form of color vision deficiency, so never use tan alone to signal meaning such as success, error or selection. Pair it with an icon, a label or a change in weight.

What tan means

Brown and earth tones feel grounded, reliable, handmade and natural. They are the backbone of coffee, craft, outdoor and sustainability brands.

Tan is named after the color of tanned leather. It is one of the CSS named colors and a staple of menswear, outdoor gear and leather goods.

Browns make warm alternatives to grey for text and borders. A dark brown instead of black instantly softens an interface.

Where tan works best

  • Leather goods
  • Menswear
  • Outdoor brands
  • Rustic restaurants

How to style tan

Tan pairs with navy, white, olive and deep brown. Use it for surfaces and accents with dark text. A tan and navy combination is one of the most dependable classic palettes.

Build a UI with tan

Inspo AI generates a full React + Tailwind screen using #D2B48C as the brand color, grounded in real shipped designs.

Generate with #D2B48C

Sources and further reading

Similar colors

Questions people ask

What is the hex code for tan?

The hex code for tan used on this page is #D2B48C. In RGB that is rgb(210, 180, 140), and in HSL it is hsl(34, 44%, 69%).

What colors go well with tan?

Tan pairs well with #8B5E3C, #FAF6F0, #2C2C2C (the Saddle palette above). Its complementary color is #8CAAD2, and analogous colors are #D2918C and #CDD28C.

Is tan a warm or cool color?

Tan is a warm color. Its hue sits at 34 degrees on the color wheel with 44% saturation.

Can I use tan for text?

Tan has a contrast ratio of 1.97:1 against white and 10.65:1 against black. Body text needs at least 4.5:1, so it works as a background behind dark text, but not as text on white.

What does tan mean?

Brown and earth tones feel grounded, reliable, handmade and natural. They are the backbone of coffee, craft, outdoor and sustainability brands. Tan in particular is used for leather goods and menswear.

How do I use tan in Tailwind CSS?

Use an arbitrary value like bg-[#D2B48C] for a one-off, or add the 50-950 scale from this page to theme.extend.colors in tailwind.config.js and use classes like bg-tan-500 and text-tan-900.

Mohamed Farhan
Mohamed Farhan•Author & CEO•LinkedIn

↘ Building Inspo AI | AI-Powered Design Research & Builder Platform | Design Engineer.