Skip to content

#df50f5

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

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

Every format

HEX#df50f5
RGBrgb(223, 80, 245)
HSLhsl(292, 89%, 64%)
CMYKcmyk(9%, 67%, 0%, 4%)
LABlab(59.9 75.8 -56.2)
LCHlch(59.9 94.4 323.4)
OKLCHoklch(0.687 0.255 322.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df50f5 on white: 3.18:1
AA ✗ fail · AA-large · AAA
Aa
#df50f5 on black: 6.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green31.4%
Blue96.1%

CMYK percentages

Cyan9.0%
Magenta67.3%
Yellow0.0%
Key (black)3.9%

Color previews

#df50f5 text on a black background

contrast 6.60:1

Card sample

#df50f5 text on a white background

contrast 3.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df50f5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df50f5 in the Color Lab