Skip to content

#d2af9c

a light, soft orange · warm · closest name: tan

RGB
210, 175, 156
HSL
21°, 38%, 72%
CMYK
0, 17, 26, 18
Luminance
0.4676

Every format

HEX#d2af9c
RGBrgb(210, 175, 156)
HSLhsl(21, 38%, 72%)
CMYKcmyk(0%, 17%, 26%, 18%)
LABlab(74.0 9.8 14.5)
LCHlch(74.0 17.5 55.8)
OKLCHoklch(0.780 0.049 50.1)

Copy-ready code

/* CSS */
color: #d2af9c;
background-color: #d2af9c;
/* Tailwind (arbitrary) */
class="text-[#d2af9c] bg-[#d2af9c]"
/* SCSS */
$brand: #d2af9c;
/* SwiftUI */
Color(red: 0.824, green: 0.686, blue: 0.612)
/* Android */
Color.parseColor("#d2af9c")

Accessibility — WCAG contrast

Aa
#d2af9c on white: 2.03:1
AA ✗ fail · AA-large · AAA
Aa
#d2af9c on black: 10.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green68.6%
Blue61.2%

CMYK percentages

Cyan0.0%
Magenta16.7%
Yellow25.7%
Key (black)17.6%

Color previews

#d2af9c text on a black background

contrast 10.35:1

Card sample

#d2af9c text on a white background

contrast 2.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #d2af9c;
Background color
Panel with #d2af9c background
background-color: #d2af9c;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #d2af9c;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(210, 175, 156, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 175, 156, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d2af9c;
background: linear-gradient(135deg, #d2af9c, #D1D29C);

Monochromatic scale

Palettes built from #d2af9c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2af9c in the Color Lab