Skip to content

#df40f5

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

RGB
223, 64, 245
HSL
293°, 90%, 61%
CMYK
9, 74, 0, 4
Luminance
0.2595

Every format

HEX#df40f5
RGBrgb(223, 64, 245)
HSLhsl(293, 90%, 61%)
CMYKcmyk(9%, 74%, 0%, 4%)
LABlab(58.0 81.3 -59.3)
LCHlch(58.0 100.6 323.9)
OKLCHoklch(0.674 0.272 322.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df40f5 on white: 3.39:1
AA ✗ fail · AA-large · AAA
Aa
#df40f5 on black: 6.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green25.1%
Blue96.1%

CMYK percentages

Cyan9.0%
Magenta73.9%
Yellow0.0%
Key (black)3.9%

Color previews

#df40f5 text on a black background

contrast 6.19:1

Card sample

#df40f5 text on a white background

contrast 3.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df40f5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df40f5 in the Color Lab