Skip to content

#df9ed2

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

RGB
223, 158, 210
HSL
312°, 50%, 75%
CMYK
0, 29, 6, 13
Luminance
0.4479

Every format

HEX#df9ed2
RGBrgb(223, 158, 210)
HSLhsl(312, 50%, 75%)
CMYKcmyk(0%, 29%, 6%, 13%)
LABlab(72.8 32.3 -16.9)
LCHlch(72.8 36.4 332.4)
OKLCHoklch(0.778 0.102 333.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df9ed2 on white: 2.11:1
AA ✗ fail · AA-large · AAA
Aa
#df9ed2 on black: 9.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green62.0%
Blue82.4%

CMYK percentages

Cyan0.0%
Magenta29.1%
Yellow5.8%
Key (black)12.5%

Color previews

#df9ed2 text on a black background

contrast 9.96:1

Card sample

#df9ed2 text on a white background

contrast 2.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df9ed2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df9ed2 in the Color Lab