Skip to content

#df18d2

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

RGB
223, 24, 210
HSL
304°, 81%, 48%
CMYK
0, 89, 6, 13
Luminance
0.2099

Every format

HEX#df18d2
RGBrgb(223, 24, 210)
HSLhsl(304, 81%, 48%)
CMYKcmyk(0%, 89%, 6%, 13%)
LABlab(53.0 84.8 -47.6)
LCHlch(53.0 97.3 330.7)
OKLCHoklch(0.631 0.276 331.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df18d2 on white: 4.04:1
AA ✗ fail · AA-large · AAA
Aa
#df18d2 on black: 5.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green9.4%
Blue82.4%

CMYK percentages

Cyan0.0%
Magenta89.2%
Yellow5.8%
Key (black)12.5%

Color previews

#df18d2 text on a black background

contrast 5.20:1

Card sample

#df18d2 text on a white background

contrast 4.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df18d2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df18d2 in the Color Lab