Skip to content

#d2afd6

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

RGB
210, 175, 214
HSL
294°, 32%, 76%
CMYK
2, 18, 0, 16
Luminance
0.4922

Every format

HEX#d2afd6
RGBrgb(210, 175, 214)
HSLhsl(294, 32%, 76%)
CMYKcmyk(2%, 18%, 0%, 16%)
LABlab(75.6 19.5 -14.9)
LCHlch(75.6 24.5 322.5)
OKLCHoklch(0.797 0.066 322.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2afd6 on white: 1.94:1
AA ✗ fail · AA-large · AAA
Aa
#d2afd6 on black: 10.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green68.6%
Blue83.9%

CMYK percentages

Cyan1.9%
Magenta18.2%
Yellow0.0%
Key (black)16.1%

Color previews

#d2afd6 text on a black background

contrast 10.84:1

Card sample

#d2afd6 text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2afd6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2afd6 in the Color Lab