Skip to content

#df47e2

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

RGB
223, 71, 226
HSL
299°, 73%, 58%
CMYK
1, 69, 0, 11
Luminance
0.2569

Every format

HEX#df47e2
RGBrgb(223, 71, 226)
HSLhsl(299, 73%, 58%)
CMYKcmyk(1%, 69%, 0%, 11%)
LABlab(57.7 75.9 -49.1)
LCHlch(57.7 90.4 327.1)
OKLCHoklch(0.668 0.250 327.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df47e2 on white: 3.42:1
AA ✗ fail · AA-large · AAA
Aa
#df47e2 on black: 6.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green27.8%
Blue88.6%

CMYK percentages

Cyan1.3%
Magenta68.6%
Yellow0.0%
Key (black)11.4%

Color previews

#df47e2 text on a black background

contrast 6.14:1

Card sample

#df47e2 text on a white background

contrast 3.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df47e2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df47e2 in the Color Lab