Skip to content

#df22fd

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

RGB
223, 34, 253
HSL
292°, 98%, 56%
CMYK
12, 87, 0, 1
Luminance
0.2392

Every format

HEX#df22fd
RGBrgb(223, 34, 253)
HSLhsl(292, 98%, 56%)
CMYKcmyk(12%, 87%, 0%, 1%)
LABlab(56.0 89.8 -66.9)
LCHlch(56.0 112.0 323.3)
OKLCHoklch(0.661 0.300 321.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df22fd on white: 3.63:1
AA ✗ fail · AA-large · AAA
Aa
#df22fd on black: 5.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green13.3%
Blue99.2%

CMYK percentages

Cyan11.9%
Magenta86.6%
Yellow0.0%
Key (black)0.8%

Color previews

#df22fd text on a black background

contrast 5.78:1

Card sample

#df22fd text on a white background

contrast 3.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df22fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df22fd in the Color Lab