Skip to content

#df1cf9

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

RGB
223, 28, 249
HSL
293°, 95%, 54%
CMYK
10, 89, 0, 2
Luminance
0.2336

Every format

HEX#df1cf9
RGBrgb(223, 28, 249)
HSLhsl(293, 95%, 54%)
CMYKcmyk(10%, 89%, 0%, 2%)
LABlab(55.4 90.1 -65.6)
LCHlch(55.4 111.5 323.9)
OKLCHoklch(0.656 0.300 322.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df1cf9 on white: 3.70:1
AA ✗ fail · AA-large · AAA
Aa
#df1cf9 on black: 5.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green11.0%
Blue97.6%

CMYK percentages

Cyan10.4%
Magenta88.8%
Yellow0.0%
Key (black)2.4%

Color previews

#df1cf9 text on a black background

contrast 5.67:1

Card sample

#df1cf9 text on a white background

contrast 3.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df1cf9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df1cf9 in the Color Lab