Skip to content

#df2ed9

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

RGB
223, 46, 217
HSL
302°, 73%, 53%
CMYK
0, 79, 3, 13
Luminance
0.2265

Every format

HEX#df2ed9
RGBrgb(223, 46, 217)
HSLhsl(302, 73%, 53%)
CMYKcmyk(0%, 79%, 3%, 13%)
LABlab(54.7 81.8 -48.8)
LCHlch(54.7 95.2 329.2)
OKLCHoklch(0.645 0.268 329.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df2ed9 on white: 3.80:1
AA ✗ fail · AA-large · AAA
Aa
#df2ed9 on black: 5.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green18.0%
Blue85.1%

CMYK percentages

Cyan0.0%
Magenta79.4%
Yellow2.7%
Key (black)12.5%

Color previews

#df2ed9 text on a black background

contrast 5.53:1

Card sample

#df2ed9 text on a white background

contrast 3.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2ed9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2ed9 in the Color Lab