Skip to content

#df4af0

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

RGB
223, 74, 240
HSL
294°, 85%, 62%
CMYK
7, 69, 0, 6
Luminance
0.2688

Every format

HEX#df4af0
RGBrgb(223, 74, 240)
HSLhsl(294, 85%, 62%)
CMYKcmyk(7%, 69%, 0%, 6%)
LABlab(58.9 77.2 -55.1)
LCHlch(58.9 94.8 324.5)
OKLCHoklch(0.679 0.258 323.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df4af0 on white: 3.29:1
AA ✗ fail · AA-large · AAA
Aa
#df4af0 on black: 6.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green29.0%
Blue94.1%

CMYK percentages

Cyan7.1%
Magenta69.2%
Yellow0.0%
Key (black)5.9%

Color previews

#df4af0 text on a black background

contrast 6.38:1

Card sample

#df4af0 text on a white background

contrast 3.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df4af0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df4af0 in the Color Lab