Skip to content

#df4df7

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

RGB
223, 77, 247
HSL
292°, 91%, 64%
CMYK
10, 69, 0, 3
Luminance
0.2771

Every format

HEX#df4df7
RGBrgb(223, 77, 247)
HSLhsl(292, 91%, 64%)
CMYKcmyk(10%, 69%, 0%, 3%)
LABlab(59.6 77.3 -57.8)
LCHlch(59.6 96.5 323.2)
OKLCHoklch(0.686 0.260 321.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df4df7 on white: 3.21:1
AA ✗ fail · AA-large · AAA
Aa
#df4df7 on black: 6.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green30.2%
Blue96.9%

CMYK percentages

Cyan9.7%
Magenta68.8%
Yellow0.0%
Key (black)3.1%

Color previews

#df4df7 text on a black background

contrast 6.54:1

Card sample

#df4df7 text on a white background

contrast 3.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df4df7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df4df7 in the Color Lab