Skip to content

#df4af9

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

RGB
223, 74, 249
HSL
291°, 94%, 63%
CMYK
10, 70, 0, 2
Luminance
0.2743

Every format

HEX#df4af9
RGBrgb(223, 74, 249)
HSLhsl(291, 94%, 63%)
CMYKcmyk(10%, 70%, 0%, 2%)
LABlab(59.4 78.7 -59.3)
LCHlch(59.4 98.5 323.0)
OKLCHoklch(0.684 0.265 321.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df4af9 on white: 3.24:1
AA ✗ fail · AA-large · AAA
Aa
#df4af9 on black: 6.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green29.0%
Blue97.6%

CMYK percentages

Cyan10.4%
Magenta70.3%
Yellow0.0%
Key (black)2.4%

Color previews

#df4af9 text on a black background

contrast 6.49:1

Card sample

#df4af9 text on a white background

contrast 3.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df4af9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df4af9 in the Color Lab