Skip to content

#df0ce9

a balanced, electric magenta / pink · warm · closest name: magenta

RGB
223, 12, 233
HSL
297°, 90%, 48%
CMYK
4, 95, 0, 9
Luminance
0.2183

Every format

HEX#df0ce9
RGBrgb(223, 12, 233)
HSLhsl(297, 90%, 48%)
CMYKcmyk(4%, 95%, 0%, 9%)
LABlab(53.9 89.4 -59.2)
LCHlch(53.9 107.2 326.5)
OKLCHoklch(0.642 0.295 326.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df0ce9 on white: 3.91:1
AA ✗ fail · AA-large · AAA
Aa
#df0ce9 on black: 5.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green4.7%
Blue91.4%

CMYK percentages

Cyan4.3%
Magenta94.8%
Yellow0.0%
Key (black)8.6%

Color previews

#df0ce9 text on a black background

contrast 5.37:1

Card sample

#df0ce9 text on a white background

contrast 3.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df0ce9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df0ce9 in the Color Lab