Skip to content

#df0cfd

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

RGB
223, 12, 253
HSL
293°, 98%, 52%
CMYK
12, 95, 0, 1
Luminance
0.2304

Every format

HEX#df0cfd
RGBrgb(223, 12, 253)
HSLhsl(293, 98%, 52%)
CMYKcmyk(12%, 95%, 0%, 1%)
LABlab(55.1 92.4 -68.4)
LCHlch(55.1 115.0 323.5)
OKLCHoklch(0.655 0.308 321.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df0cfd on white: 3.74:1
AA ✗ fail · AA-large · AAA
Aa
#df0cfd on black: 5.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green4.7%
Blue99.2%

CMYK percentages

Cyan11.9%
Magenta95.3%
Yellow0.0%
Key (black)0.8%

Color previews

#df0cfd text on a black background

contrast 5.61:1

Card sample

#df0cfd text on a white background

contrast 3.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df0cfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df0cfd in the Color Lab