Skip to content

#df02df

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

RGB
223, 2, 223
HSL
300°, 98%, 44%
CMYK
0, 99, 0, 13
Luminance
0.2106

Every format

HEX#df02df
RGBrgb(223, 2, 223)
HSLhsl(300, 98%, 44%)
CMYKcmyk(0%, 99%, 0%, 13%)
LABlab(53.0 88.6 -54.9)
LCHlch(53.0 104.3 328.2)
OKLCHoklch(0.634 0.291 328.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df02df on white: 4.03:1
AA ✗ fail · AA-large · AAA
Aa
#df02df on black: 5.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green0.8%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta99.1%
Yellow0.0%
Key (black)12.5%

Color previews

#df02df text on a black background

contrast 5.21:1

Card sample

#df02df text on a white background

contrast 4.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df02df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df02df in the Color Lab