Skip to content

#df4cf1

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

RGB
223, 76, 241
HSL
294°, 86%, 62%
CMYK
8, 69, 0, 6
Luminance
0.2721

Every format

HEX#df4cf1
RGBrgb(223, 76, 241)
HSLhsl(294, 86%, 62%)
CMYKcmyk(8%, 69%, 0%, 6%)
LABlab(59.2 76.6 -55.2)
LCHlch(59.2 94.4 324.2)
OKLCHoklch(0.681 0.257 323.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df4cf1 on white: 3.26:1
AA ✗ fail · AA-large · AAA
Aa
#df4cf1 on black: 6.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green29.8%
Blue94.5%

CMYK percentages

Cyan7.5%
Magenta68.5%
Yellow0.0%
Key (black)5.5%

Color previews

#df4cf1 text on a black background

contrast 6.44:1

Card sample

#df4cf1 text on a white background

contrast 3.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df4cf1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df4cf1 in the Color Lab