Tan Color #D2B48C
Tan color codes
#D2B48Crgb(210, 180, 140)hsl(34.3, 43.7%, 68.6%)hsv(34.3, 33.3%, 82.4%)oklch(0.786 0.064 74.6)--tan: #D2B48C;Black text is the readable choice on Tan: 10.64:1.
About the name tan
From tannum, the oak bark used in tanning leather; first documented as an English color name in 1590. (Wikipedia)
Tan is a CSS named color: you can write tan instead of #D2B48C in any stylesheet.
Tan shades and tints
Click a swatch to copy it. The middle swatch is the base color; steps are even in OKLCH lightness.
Colors that go with tan
Text contrast on tan
Tan color palettes
From our palette collections
Tan gradients
background: linear-gradient(135deg, #EEE1CF 0%, #D2B48C 100%);background: linear-gradient(90deg, #D2B48C 0%, #CDD28C 100%);background: linear-gradient(135deg, #D2B48C 0%, #8CAAD2 100%);Tan in CSS
:root {
--tan: #D2B48C;
--tan-rgb: 210, 180, 140;
}
.button {
background: var(--tan);
color: #000000; /* 10.64:1 */
}Tailwind: bg-[#D2B48C] · text-[#D2B48C]
Colors similar to tan
Frequently asked questions
What is the hex code for tan?
Tan is #D2B48C (the CSS color name tan). In RGB it is rgb(210, 180, 140) and in HSL hsl(34.3, 43.7%, 68.6%).
What colors go with tan?
On the color wheel, tan (#D2B48C) pairs with its complement #8CAAD2, its analogous colors #D2918C and #CDD28C, and the triadic colors #8CD2B4 and #B48CD2. Lighter tints and darker shades of tan itself also make an easy monochromatic scheme.
What text color works on tan?
Black text is the readable choice on Tan: 10.64:1. Tan text on white is 1.97:1 (fails WCAG AA for normal text) and on black 10.64:1 (passes).
What is the RGB value of tan?
Tan (#D2B48C) is red 210, green 180 and blue 140: rgb(210, 180, 140).
Sources
- W3C, CSS Color Module Level 4: named colors
- Wikipedia, Tan (color) (revision 1369820376); text adapted under CC BY-SA 4.0
- Cross-checked: Wikipedia 'List of colors: N–Z' (rev 1384289083), entry 'Tan'
- RGB, HSL, OKLCH, shades, harmonies and contrast are computed with SwatchNest's tested color library. Updated 2026-11-24