Skip to content

#df4af6

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

RGB
223, 74, 246
HSL
292°, 91%, 63%
CMYK
9, 70, 0, 4
Luminance
0.2724

Every format

HEX#df4af6
RGBrgb(223, 74, 246)
HSLhsl(292, 91%, 63%)
CMYKcmyk(9%, 70%, 0%, 4%)
LABlab(59.2 78.2 -57.9)
LCHlch(59.2 97.3 323.5)
OKLCHoklch(0.682 0.263 322.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green29.0%
Blue96.5%

CMYK percentages

Cyan9.3%
Magenta69.9%
Yellow0.0%
Key (black)3.5%

Color previews

#df4af6 text on a black background

contrast 6.45:1

Card sample

#df4af6 text on a white background

contrast 3.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df4af6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df4af6 in the Color Lab