Skip to content

#df1aff

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

RGB
223, 26, 255
HSL
292°, 100%, 55%
CMYK
13, 90, 0, 0
Luminance
0.2365

Every format

HEX#df1aff
RGBrgb(223, 26, 255)
HSLhsl(292, 100%, 55%)
CMYKcmyk(13%, 90%, 0%, 0%)
LABlab(55.7 91.3 -68.5)
LCHlch(55.7 114.1 323.1)
OKLCHoklch(0.660 0.305 320.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df1aff on white: 3.67:1
AA ✗ fail · AA-large · AAA
Aa
#df1aff on black: 5.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green10.2%
Blue100.0%

CMYK percentages

Cyan12.5%
Magenta89.8%
Yellow0.0%
Key (black)0.0%

Color previews

#df1aff text on a black background

contrast 5.73:1

Card sample

#df1aff text on a white background

contrast 3.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df1aff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df1aff in the Color Lab