Skip to content

#df1dfc

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

RGB
223, 29, 252
HSL
292°, 97%, 55%
CMYK
12, 89, 0, 1
Luminance
0.2359

Every format

HEX#df1dfc
RGBrgb(223, 29, 252)
HSLhsl(292, 97%, 55%)
CMYKcmyk(12%, 89%, 0%, 1%)
LABlab(55.7 90.4 -66.9)
LCHlch(55.7 112.5 323.5)
OKLCHoklch(0.659 0.302 321.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df1dfc on white: 3.67:1
AA ✗ fail · AA-large · AAA
Aa
#df1dfc on black: 5.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green11.4%
Blue98.8%

CMYK percentages

Cyan11.5%
Magenta88.5%
Yellow0.0%
Key (black)1.2%

Color previews

#df1dfc text on a black background

contrast 5.72:1

Card sample

#df1dfc text on a white background

contrast 3.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df1dfc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df1dfc in the Color Lab