Skip to content

#d2afd2

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

RGB
210, 175, 210
HSL
300°, 28%, 76%
CMYK
0, 17, 0, 18
Luminance
0.4901

Every format

HEX#d2afd2
RGBrgb(210, 175, 210)
HSLhsl(300, 28%, 76%)
CMYKcmyk(0%, 17%, 0%, 18%)
LABlab(75.5 18.7 -12.9)
LCHlch(75.5 22.7 325.4)
OKLCHoklch(0.796 0.062 326.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green68.6%
Blue82.4%

CMYK percentages

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

Color previews

#d2afd2 text on a black background

contrast 10.80:1

Card sample

#d2afd2 text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2afd2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2afd2 in the Color Lab