Skip to content

#df2fd7

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

RGB
223, 47, 215
HSL
303°, 73%, 53%
CMYK
0, 79, 4, 13
Luminance
0.2263

Every format

HEX#df2fd7
RGBrgb(223, 47, 215)
HSLhsl(303, 73%, 53%)
CMYKcmyk(0%, 79%, 4%, 13%)
LABlab(54.7 81.3 -47.7)
LCHlch(54.7 94.2 329.6)
OKLCHoklch(0.645 0.266 330.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green18.4%
Blue84.3%

CMYK percentages

Cyan0.0%
Magenta78.9%
Yellow3.6%
Key (black)12.5%

Color previews

#df2fd7 text on a black background

contrast 5.53:1

Card sample

#df2fd7 text on a white background

contrast 3.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2fd7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2fd7 in the Color Lab