Skip to content

#df30fd

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

RGB
223, 48, 253
HSL
291°, 98%, 59%
CMYK
12, 81, 0, 1
Luminance
0.2489

Every format

HEX#df30fd
RGBrgb(223, 48, 253)
HSLhsl(291, 98%, 59%)
CMYKcmyk(12%, 81%, 0%, 1%)
LABlab(57.0 87.0 -65.4)
LCHlch(57.0 108.8 323.1)
OKLCHoklch(0.668 0.292 321.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df30fd on white: 3.51:1
AA ✗ fail · AA-large · AAA
Aa
#df30fd on black: 5.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green18.8%
Blue99.2%

CMYK percentages

Cyan11.9%
Magenta81.0%
Yellow0.0%
Key (black)0.8%

Color previews

#df30fd text on a black background

contrast 5.98:1

Card sample

#df30fd text on a white background

contrast 3.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df30fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df30fd in the Color Lab