Skip to content

#d2abd9

a light, soft magenta / pink · warm · closest name: plum

RGB
210, 171, 217
HSL
291°, 38%, 76%
CMYK
3, 21, 0, 15
Luminance
0.4784

Every format

HEX#d2abd9
RGBrgb(210, 171, 217)
HSLhsl(291, 38%, 76%)
CMYKcmyk(3%, 21%, 0%, 15%)
LABlab(74.7 22.2 -17.9)
LCHlch(74.7 28.5 321.2)
OKLCHoklch(0.791 0.077 321.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2abd9 on white: 1.99:1
AA ✗ fail · AA-large · AAA
Aa
#d2abd9 on black: 10.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green67.1%
Blue85.1%

CMYK percentages

Cyan3.2%
Magenta21.2%
Yellow0.0%
Key (black)14.9%

Color previews

#d2abd9 text on a black background

contrast 10.57:1

Card sample

#d2abd9 text on a white background

contrast 1.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2abd9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2abd9 in the Color Lab