Skip to content

#df9ee2

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

RGB
223, 158, 226
HSL
297°, 54%, 75%
CMYK
1, 30, 0, 11
Luminance
0.4563

Every format

HEX#df9ee2
RGBrgb(223, 158, 226)
HSLhsl(297, 54%, 75%)
CMYKcmyk(1%, 30%, 0%, 11%)
LABlab(73.3 35.2 -24.8)
LCHlch(73.3 43.0 324.8)
OKLCHoklch(0.784 0.118 325.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df9ee2 on white: 2.07:1
AA ✗ fail · AA-large · AAA
Aa
#df9ee2 on black: 10.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green62.0%
Blue88.6%

CMYK percentages

Cyan1.3%
Magenta30.1%
Yellow0.0%
Key (black)11.4%

Color previews

#df9ee2 text on a black background

contrast 10.13:1

Card sample

#df9ee2 text on a white background

contrast 2.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df9ee2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df9ee2 in the Color Lab