Skip to content

#d2afab

a light, soft red · warm · closest name: silver

RGB
210, 175, 171
HSL
6°, 30%, 75%
CMYK
0, 17, 19, 18
Luminance
0.4730

Every format

HEX#d2afab
RGBrgb(210, 175, 171)
HSLhsl(6, 30%, 75%)
CMYKcmyk(0%, 17%, 19%, 18%)
LABlab(74.4 12.0 6.8)
LCHlch(74.4 13.8 29.5)
OKLCHoklch(0.784 0.041 25.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2afab on white: 2.01:1
AA ✗ fail · AA-large · AAA
Aa
#d2afab on black: 10.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green68.6%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta16.7%
Yellow18.6%
Key (black)17.6%

Color previews

#d2afab text on a black background

contrast 10.46:1

Card sample

#d2afab text on a white background

contrast 2.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2afab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2afab in the Color Lab