Skip to content

#d4afdb

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

RGB
212, 175, 219
HSL
291°, 38%, 77%
CMYK
3, 20, 0, 14
Luminance
0.4977

Every format

HEX#d4afdb
RGBrgb(212, 175, 219)
HSLhsl(291, 38%, 77%)
CMYKcmyk(3%, 20%, 0%, 14%)
LABlab(75.9 21.1 -17.1)
LCHlch(75.9 27.1 321.0)
OKLCHoklch(0.801 0.073 320.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red83.1%
Green68.6%
Blue85.9%

CMYK percentages

Cyan3.2%
Magenta20.1%
Yellow0.0%
Key (black)14.1%

Color previews

#d4afdb text on a black background

contrast 10.95:1

Card sample

#d4afdb text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d4afdb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4afdb in the Color Lab