Skip to content

#d7afd0

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

RGB
215, 175, 208
HSL
311°, 33%, 77%
CMYK
0, 19, 3, 16
Luminance
0.4966

Every format

HEX#d7afd0
RGBrgb(215, 175, 208)
HSLhsl(311, 33%, 77%)
CMYKcmyk(0%, 19%, 3%, 16%)
LABlab(75.9 20.0 -11.2)
LCHlch(75.9 22.9 330.8)
OKLCHoklch(0.800 0.064 332.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d7afd0 on white: 1.92:1
AA ✗ fail · AA-large · AAA
Aa
#d7afd0 on black: 10.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red84.3%
Green68.6%
Blue81.6%

CMYK percentages

Cyan0.0%
Magenta18.6%
Yellow3.3%
Key (black)15.7%

Color previews

#d7afd0 text on a black background

contrast 10.93:1

Card sample

#d7afd0 text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d7afd0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d7afd0 in the Color Lab