Skip to content

#df2ed4

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

RGB
223, 46, 212
HSL
304°, 73%, 53%
CMYK
0, 79, 5, 13
Luminance
0.2240

Every format

HEX#df2ed4
RGBrgb(223, 46, 212)
HSLhsl(304, 73%, 53%)
CMYKcmyk(0%, 79%, 5%, 13%)
LABlab(54.5 81.0 -46.4)
LCHlch(54.5 93.4 330.2)
OKLCHoklch(0.642 0.264 331.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df2ed4 on white: 3.83:1
AA ✗ fail · AA-large · AAA
Aa
#df2ed4 on black: 5.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green18.0%
Blue83.1%

CMYK percentages

Cyan0.0%
Magenta79.4%
Yellow4.9%
Key (black)12.5%

Color previews

#df2ed4 text on a black background

contrast 5.48:1

Card sample

#df2ed4 text on a white background

contrast 3.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2ed4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2ed4 in the Color Lab