Skip to content

#df17df

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

RGB
223, 23, 223
HSL
300°, 81%, 48%
CMYK
0, 90, 0, 13
Luminance
0.2163

Every format

HEX#df17df
RGBrgb(223, 23, 223)
HSLhsl(300, 81%, 48%)
CMYKcmyk(0%, 90%, 0%, 13%)
LABlab(53.6 86.8 -53.9)
LCHlch(53.6 102.2 328.2)
OKLCHoklch(0.639 0.285 328.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df17df on white: 3.94:1
AA ✗ fail · AA-large · AAA
Aa
#df17df on black: 5.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green9.0%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta89.7%
Yellow0.0%
Key (black)12.5%

Color previews

#df17df text on a black background

contrast 5.33:1

Card sample

#df17df text on a white background

contrast 3.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df17df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df17df in the Color Lab