Skip to content

#df16f0

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

RGB
223, 22, 240
HSL
295°, 88%, 51%
CMYK
7, 91, 0, 6
Luminance
0.2255

Every format

HEX#df16f0
RGBrgb(223, 22, 240)
HSLhsl(295, 88%, 51%)
CMYKcmyk(7%, 91%, 0%, 6%)
LABlab(54.6 89.5 -61.9)
LCHlch(54.6 108.8 325.3)
OKLCHoklch(0.649 0.297 324.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df16f0 on white: 3.81:1
AA ✗ fail · AA-large · AAA
Aa
#df16f0 on black: 5.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green8.6%
Blue94.1%

CMYK percentages

Cyan7.1%
Magenta90.8%
Yellow0.0%
Key (black)5.9%

Color previews

#df16f0 text on a black background

contrast 5.51:1

Card sample

#df16f0 text on a white background

contrast 3.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df16f0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df16f0 in the Color Lab