Skip to content

#df0ed2

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

RGB
223, 14, 210
HSL
304°, 88%, 47%
CMYK
0, 94, 6, 13
Luminance
0.2066

Every format

HEX#df0ed2
RGBrgb(223, 14, 210)
HSLhsl(304, 88%, 47%)
CMYKcmyk(0%, 94%, 6%, 13%)
LABlab(52.6 85.9 -48.2)
LCHlch(52.6 98.5 330.7)
OKLCHoklch(0.629 0.280 331.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df0ed2 on white: 4.09:1
AA ✗ fail · AA-large · AAA
Aa
#df0ed2 on black: 5.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green5.5%
Blue82.4%

CMYK percentages

Cyan0.0%
Magenta93.7%
Yellow5.8%
Key (black)12.5%

Color previews

#df0ed2 text on a black background

contrast 5.13:1

Card sample

#df0ed2 text on a white background

contrast 4.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df0ed2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df0ed2 in the Color Lab