Skip to content

#d419df

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

RGB
212, 25, 223
HSL
297°, 80%, 49%
CMYK
5, 89, 0, 13
Luminance
0.2002

Every format

HEX#d419df
RGBrgb(212, 25, 223)
HSLhsl(297, 80%, 49%)
CMYKcmyk(5%, 89%, 0%, 13%)
LABlab(51.9 84.7 -56.8)
LCHlch(51.9 102.0 326.1)
OKLCHoklch(0.623 0.280 325.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d419df on white: 4.20:1
AA ✗ fail · AA-large · AAA
Aa
#d419df on black: 5.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.1%
Green9.8%
Blue87.5%

CMYK percentages

Cyan4.9%
Magenta88.8%
Yellow0.0%
Key (black)12.5%

Color previews

#d419df text on a black background

contrast 5.00:1

Card sample

#d419df text on a white background

contrast 4.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d419df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d419df in the Color Lab