Skip to content

#df1af9

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

RGB
223, 26, 249
HSL
293°, 95%, 54%
CMYK
10, 90, 0, 2
Luminance
0.2327

Every format

HEX#df1af9
RGBrgb(223, 26, 249)
HSLhsl(293, 95%, 54%)
CMYKcmyk(10%, 90%, 0%, 2%)
LABlab(55.4 90.3 -65.8)
LCHlch(55.4 111.8 323.9)
OKLCHoklch(0.656 0.301 322.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df1af9 on white: 3.71:1
AA ✗ fail · AA-large · AAA
Aa
#df1af9 on black: 5.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green10.2%
Blue97.6%

CMYK percentages

Cyan10.4%
Magenta89.6%
Yellow0.0%
Key (black)2.4%

Color previews

#df1af9 text on a black background

contrast 5.65:1

Card sample

#df1af9 text on a white background

contrast 3.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df1af9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df1af9 in the Color Lab