Skip to content

#df02d0

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

RGB
223, 2, 208
HSL
304°, 98%, 44%
CMYK
0, 99, 7, 13
Luminance
0.2029

Every format

HEX#df02d0
RGBrgb(223, 2, 208)
HSLhsl(304, 98%, 44%)
CMYKcmyk(0%, 99%, 7%, 13%)
LABlab(52.2 86.5 -47.7)
LCHlch(52.2 98.8 331.1)
OKLCHoklch(0.626 0.282 332.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df02d0 on white: 4.15:1
AA ✗ fail · AA-large · AAA
Aa
#df02d0 on black: 5.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green0.8%
Blue81.6%

CMYK percentages

Cyan0.0%
Magenta99.1%
Yellow6.7%
Key (black)12.5%

Color previews

#df02d0 text on a black background

contrast 5.06:1

Card sample

#df02d0 text on a white background

contrast 4.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df02d0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df02d0 in the Color Lab