Skip to content

#d2afb3

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

RGB
210, 175, 179
HSL
353°, 28%, 76%
CMYK
0, 17, 15, 18
Luminance
0.4762

Every format

HEX#d2afb3
RGBrgb(210, 175, 179)
HSLhsl(353, 28%, 76%)
CMYKcmyk(0%, 17%, 15%, 18%)
LABlab(74.6 13.3 2.7)
LCHlch(74.6 13.6 11.5)
OKLCHoklch(0.786 0.041 10.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2afb3 on white: 2.00:1
AA ✗ fail · AA-large · AAA
Aa
#d2afb3 on black: 10.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green68.6%
Blue70.2%

CMYK percentages

Cyan0.0%
Magenta16.7%
Yellow14.8%
Key (black)17.6%

Color previews

#d2afb3 text on a black background

contrast 10.52:1

Card sample

#d2afb3 text on a white background

contrast 2.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2afb3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2afb3 in the Color Lab