Skip to content

#df0cfe

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

RGB
223, 12, 254
HSL
292°, 99%, 52%
CMYK
12, 95, 0, 0
Luminance
0.2311

Every format

HEX#df0cfe
RGBrgb(223, 12, 254)
HSLhsl(292, 99%, 52%)
CMYKcmyk(12%, 95%, 0%, 0%)
LABlab(55.2 92.6 -68.8)
LCHlch(55.2 115.4 323.4)
OKLCHoklch(0.656 0.309 321.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green4.7%
Blue99.6%

CMYK percentages

Cyan12.2%
Magenta95.3%
Yellow0.0%
Key (black)0.4%

Color previews

#df0cfe text on a black background

contrast 5.62:1

Card sample

#df0cfe text on a white background

contrast 3.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df0cfe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df0cfe in the Color Lab