Skip to content

#df1dfd

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

RGB
223, 29, 253
HSL
292°, 98%, 55%
CMYK
12, 89, 0, 1
Luminance
0.2366

Every format

HEX#df1dfd
RGBrgb(223, 29, 253)
HSLhsl(292, 98%, 55%)
CMYKcmyk(12%, 89%, 0%, 1%)
LABlab(55.8 90.6 -67.3)
LCHlch(55.8 112.9 323.4)
OKLCHoklch(0.659 0.303 321.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df1dfd on white: 3.66:1
AA ✗ fail · AA-large · AAA
Aa
#df1dfd on black: 5.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green11.4%
Blue99.2%

CMYK percentages

Cyan11.9%
Magenta88.5%
Yellow0.0%
Key (black)0.8%

Color previews

#df1dfd text on a black background

contrast 5.73:1

Card sample

#df1dfd text on a white background

contrast 3.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df1dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df1dfd in the Color Lab