Tan color: hex #d2b48c, RGB and HSL
Tan is the CSS keyword tan, hex #d2b48c, rgb(210, 180, 140), hsl(34, 44%, 69%). It is a medium, muted orange in the browns family. Below: the colors that go with it, its tints and shades, how it reads as text, and a complete interface palette built from it.
- CSS name
- tan
- Hex
- #d2b48c
- RGB
- rgb(210, 180, 140)
- HSL
- hsl(34, 44%, 69%)
- On white
- 1.97:1 — fails AA; use as a fill, not text
- On black
- 10.65:1 — passes AA for body text
.example {
color: tan; /* keyword */
color: #d2b48c; /* hex */
color: rgb(210, 180, 140); /* rgb */
color: hsl(34, 44%, 69%); /* hsl */
}What colors go with tan
Each match keeps tan's saturation and lightness and rotates only the hue, so the relationship is the wheel's and nothing else. Any of these can be an accent beside tan as the primary; the harmony guides explain which rule suits which interface.
Complementary
The opposite hue, 180° away — the strongest contrast, best kept to one accent per screen.
Split-complementary
The two neighbors of the complement, at 150° and 210° — most of the contrast with less tension, and two accents instead of one.
Triadic
Two hues at 120° and 240° — three evenly spaced signals, the scheme charts and category colors want.
Analogous
The neighbors at −30° and +30° — calm and cohesive, with emphasis coming from weight and size rather than hue.
Tints and shades of tan
Tints add lightness toward white; shades remove it toward black. The hue and saturation stay fixed, so every step still reads as tan — these are the hover, pressed, disabled and surface variants a single brand color needs.
Tints (lighter)
Shades (darker)
A UI color palette built from tan
The eight semantic roles an interface actually uses, derived from tan as the primary with the split-complementary rule: secondary and accent rotate around the wheel, and the five neutrals take the hue at lightness steps tuned for light and dark mode. This is the same derivation the palette generator runs — open it there to change the rule, drag the anchors, or export the set as CSS variables.
- primary
- #d2b48c
- secondary
- #8ccdd2
- accent
- #918cd2
- background
- #fdfcfc
- surface
- #f6f5f3
- text
- #201a13
- muted
- #87765f
- border
- #eae6e1
- primary
- #d2b48c
- secondary
- #8ccdd2
- accent
- #918cd2
- background
- #191510
- surface
- #252018
- text
- #f6f5f3
- muted
- #b1a79a
- border
- #443a2c
Using tan in an interface
Browns are muted oranges, and they behave like neutrals with warmth: the light ones make paper-like page backgrounds, the mid tones make borders and muted text, and the dark ones can carry body text. Brands that want to feel crafted or organic lean on this family. Whichever role tan takes, define it once as a token rather than repeating the keyword: the semantic palette guide covers the eight roles, and the guides to complementary, triadic and the other color schemes explain how to weight the matches above.
- What is the hex code for Tan?
- Tan is #d2b48c. In CSS the keyword tan, the hex #d2b48c, rgb(210, 180, 140) and hsl(34, 44%, 69%) all paint the same color.
- What colors go with Tan?
- Its complement is #8caad2, the split-complementary pair is #8ccdd2 and #918cd2, the triadic partners are #8cd2b4 and #b48cd2, and the analogous neighbors are #d2918c and #cdd28c. In an interface, use Tan for most colored elements and one of these for a single accent, at roughly an 80/20 split.
- What is the opposite of Tan on the color wheel?
- The opposite (complementary) color is #8caad2, the same saturation and lightness rotated 180° around the HSL wheel. Complementary pairs give the strongest contrast, which is why the complement should be used sparingly rather than at equal weight.
- Can I use Tan for text?
- Tan as text on white has a contrast ratio of 1.97:1, which fails WCAG AA for body text (4.5:1) and for large text (3:1). On black it is 10.65:1, which passes for body text. Use it as text on dark surfaces, or as a fill with dark text on top.