Skip to content

#df49f7

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

RGB
223, 73, 247
HSL
292°, 92%, 63%
CMYK
10, 70, 0, 3
Luminance
0.2717

Every format

HEX#df49f7
RGBrgb(223, 73, 247)
HSLhsl(292, 92%, 63%)
CMYKcmyk(10%, 70%, 0%, 3%)
LABlab(59.1 78.7 -58.6)
LCHlch(59.1 98.1 323.3)
OKLCHoklch(0.682 0.265 321.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green28.6%
Blue96.9%

CMYK percentages

Cyan9.7%
Magenta70.4%
Yellow0.0%
Key (black)3.1%

Color previews

#df49f7 text on a black background

contrast 6.43:1

Card sample

#df49f7 text on a white background

contrast 3.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df49f7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df49f7 in the Color Lab