Skip to content

#df2fd5

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

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

Every format

HEX#df2fd5
RGBrgb(223, 47, 213)
HSLhsl(303, 73%, 53%)
CMYKcmyk(0%, 79%, 5%, 13%)
LABlab(54.6 81.0 -46.7)
LCHlch(54.6 93.5 330.0)
OKLCHoklch(0.644 0.264 330.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df2fd5 on white: 3.81:1
AA ✗ fail · AA-large · AAA
Aa
#df2fd5 on black: 5.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green18.4%
Blue83.5%

CMYK percentages

Cyan0.0%
Magenta78.9%
Yellow4.5%
Key (black)12.5%

Color previews

#df2fd5 text on a black background

contrast 5.51:1

Card sample

#df2fd5 text on a white background

contrast 3.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2fd5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2fd5 in the Color Lab