Skip to content

#df0ce2

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

RGB
223, 12, 226
HSL
299°, 90%, 47%
CMYK
1, 95, 0, 11
Luminance
0.2144

Every format

HEX#df0ce2
RGBrgb(223, 12, 226)
HSLhsl(299, 90%, 47%)
CMYKcmyk(1%, 95%, 0%, 11%)
LABlab(53.4 88.3 -55.9)
LCHlch(53.4 104.6 327.7)
OKLCHoklch(0.638 0.291 327.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df0ce2 on white: 3.97:1
AA ✗ fail · AA-large · AAA
Aa
#df0ce2 on black: 5.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green4.7%
Blue88.6%

CMYK percentages

Cyan1.3%
Magenta94.7%
Yellow0.0%
Key (black)11.4%

Color previews

#df0ce2 text on a black background

contrast 5.29:1

Card sample

#df0ce2 text on a white background

contrast 3.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df0ce2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df0ce2 in the Color Lab