Skip to content

#df2ed5

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

RGB
223, 46, 213
HSL
303°, 73%, 53%
CMYK
0, 79, 5, 13
Luminance
0.2245

Every format

HEX#df2ed5
RGBrgb(223, 46, 213)
HSLhsl(303, 73%, 53%)
CMYKcmyk(0%, 79%, 5%, 13%)
LABlab(54.5 81.2 -46.8)
LCHlch(54.5 93.7 330.0)
OKLCHoklch(0.643 0.265 330.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#df2ed5 text on a black background

contrast 5.49:1

Card sample

#df2ed5 text on a white background

contrast 3.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2ed5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2ed5 in the Color Lab