Skip to content

#df13d2

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

RGB
223, 19, 210
HSL
304°, 84%, 48%
CMYK
0, 92, 6, 13
Luminance
0.2081

Every format

HEX#df13d2
RGBrgb(223, 19, 210)
HSLhsl(304, 84%, 48%)
CMYKcmyk(0%, 92%, 6%, 13%)
LABlab(52.7 85.4 -47.9)
LCHlch(52.7 98.0 330.7)
OKLCHoklch(0.630 0.278 331.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df13d2 on white: 4.07:1
AA ✗ fail · AA-large · AAA
Aa
#df13d2 on black: 5.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green7.5%
Blue82.4%

CMYK percentages

Cyan0.0%
Magenta91.5%
Yellow5.8%
Key (black)12.5%

Color previews

#df13d2 text on a black background

contrast 5.16:1

Card sample

#df13d2 text on a white background

contrast 4.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df13d2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df13d2 in the Color Lab