Skip to content

#df2ad6

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

RGB
223, 42, 214
HSL
303°, 74%, 52%
CMYK
0, 81, 4, 13
Luminance
0.2220

Every format

HEX#df2ad6
RGBrgb(223, 42, 214)
HSLhsl(303, 74%, 52%)
CMYKcmyk(0%, 81%, 4%, 13%)
LABlab(54.2 82.3 -47.8)
LCHlch(54.2 95.1 329.8)
OKLCHoklch(0.641 0.269 330.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df2ad6 on white: 3.86:1
AA ✗ fail · AA-large · AAA
Aa
#df2ad6 on black: 5.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green16.5%
Blue83.9%

CMYK percentages

Cyan0.0%
Magenta81.2%
Yellow4.0%
Key (black)12.5%

Color previews

#df2ad6 text on a black background

contrast 5.44:1

Card sample

#df2ad6 text on a white background

contrast 3.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2ad6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2ad6 in the Color Lab