Skip to content

#df27f1

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

RGB
223, 39, 241
HSL
295°, 88%, 55%
CMYK
8, 84, 0, 6
Luminance
0.2349

Every format

HEX#df27f1
RGBrgb(223, 39, 241)
HSLhsl(295, 88%, 55%)
CMYKcmyk(8%, 84%, 0%, 6%)
LABlab(55.6 87.0 -60.9)
LCHlch(55.6 106.2 325.0)
OKLCHoklch(0.656 0.289 323.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df27f1 on white: 3.69:1
AA ✗ fail · AA-large · AAA
Aa
#df27f1 on black: 5.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green15.3%
Blue94.5%

CMYK percentages

Cyan7.5%
Magenta83.8%
Yellow0.0%
Key (black)5.5%

Color previews

#df27f1 text on a black background

contrast 5.70:1

Card sample

#df27f1 text on a white background

contrast 3.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df27f1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df27f1 in the Color Lab