Skip to content

#df2efc

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

RGB
223, 46, 252
HSL
292°, 97%, 58%
CMYK
12, 82, 0, 1
Luminance
0.2467

Every format

HEX#df2efc
RGBrgb(223, 46, 252)
HSLhsl(292, 97%, 58%)
CMYKcmyk(12%, 82%, 0%, 1%)
LABlab(56.8 87.3 -65.2)
LCHlch(56.8 108.9 323.2)
OKLCHoklch(0.666 0.292 321.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df2efc on white: 3.54:1
AA ✗ fail · AA-large · AAA
Aa
#df2efc on black: 5.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green18.0%
Blue98.8%

CMYK percentages

Cyan11.5%
Magenta81.7%
Yellow0.0%
Key (black)1.2%

Color previews

#df2efc text on a black background

contrast 5.93:1

Card sample

#df2efc text on a white background

contrast 3.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2efc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2efc in the Color Lab