Skip to content

#df27d2

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

RGB
223, 39, 210
HSL
304°, 74%, 51%
CMYK
0, 83, 6, 13
Luminance
0.2179

Every format

HEX#df27d2
RGBrgb(223, 39, 210)
HSLhsl(304, 74%, 51%)
CMYKcmyk(0%, 83%, 6%, 13%)
LABlab(53.8 82.3 -46.2)
LCHlch(53.8 94.4 330.7)
OKLCHoklch(0.638 0.268 331.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df27d2 on white: 3.92:1
AA ✗ fail · AA-large · AAA
Aa
#df27d2 on black: 5.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green15.3%
Blue82.4%

CMYK percentages

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

Color previews

#df27d2 text on a black background

contrast 5.36:1

Card sample

#df27d2 text on a white background

contrast 3.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df27d2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df27d2 in the Color Lab