Skip to content

#df16f7

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

RGB
223, 22, 247
HSL
294°, 93%, 53%
CMYK
10, 91, 0, 3
Luminance
0.2298

Every format

HEX#df16f7
RGBrgb(223, 22, 247)
HSLhsl(294, 93%, 53%)
CMYKcmyk(10%, 91%, 0%, 3%)
LABlab(55.0 90.5 -65.1)
LCHlch(55.0 111.5 324.3)
OKLCHoklch(0.653 0.301 322.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df16f7 on white: 3.75:1
AA ✗ fail · AA-large · AAA
Aa
#df16f7 on black: 5.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green8.6%
Blue96.9%

CMYK percentages

Cyan9.7%
Magenta91.1%
Yellow0.0%
Key (black)3.1%

Color previews

#df16f7 text on a black background

contrast 5.60:1

Card sample

#df16f7 text on a white background

contrast 3.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df16f7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df16f7 in the Color Lab