Skip to content

#df52f5

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

RGB
223, 82, 245
HSL
292°, 89%, 64%
CMYK
9, 67, 0, 4
Luminance
0.2832

Every format

HEX#df52f5
RGBrgb(223, 82, 245)
HSLhsl(292, 89%, 64%)
CMYKcmyk(9%, 67%, 0%, 4%)
LABlab(60.2 75.1 -55.8)
LCHlch(60.2 93.6 323.4)
OKLCHoklch(0.689 0.253 322.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df52f5 on white: 3.15:1
AA ✗ fail · AA-large · AAA
Aa
#df52f5 on black: 6.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green32.2%
Blue96.1%

CMYK percentages

Cyan9.0%
Magenta66.5%
Yellow0.0%
Key (black)3.9%

Color previews

#df52f5 text on a black background

contrast 6.66:1

Card sample

#df52f5 text on a white background

contrast 3.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df52f5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df52f5 in the Color Lab