Skip to content

#df4cf9

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

RGB
223, 76, 249
HSL
291°, 94%, 64%
CMYK
10, 70, 0, 2
Luminance
0.2770

Every format

HEX#df4cf9
RGBrgb(223, 76, 249)
HSLhsl(291, 94%, 64%)
CMYKcmyk(10%, 70%, 0%, 2%)
LABlab(59.6 78.0 -58.9)
LCHlch(59.6 97.8 322.9)
OKLCHoklch(0.686 0.263 321.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df4cf9 on white: 3.21:1
AA ✗ fail · AA-large · AAA
Aa
#df4cf9 on black: 6.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green29.8%
Blue97.6%

CMYK percentages

Cyan10.4%
Magenta69.5%
Yellow0.0%
Key (black)2.4%

Color previews

#df4cf9 text on a black background

contrast 6.54:1

Card sample

#df4cf9 text on a white background

contrast 3.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df4cf9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df4cf9 in the Color Lab