Skip to content

#df2efd

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

RGB
223, 46, 253
HSL
291°, 98%, 59%
CMYK
12, 82, 0, 1
Luminance
0.2473

Every format

HEX#df2efd
RGBrgb(223, 46, 253)
HSLhsl(291, 98%, 59%)
CMYKcmyk(12%, 82%, 0%, 1%)
LABlab(56.8 87.4 -65.6)
LCHlch(56.8 109.3 323.1)
OKLCHoklch(0.667 0.293 321.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df2efd on white: 3.53:1
AA ✗ fail · AA-large · AAA
Aa
#df2efd on black: 5.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green18.0%
Blue99.2%

CMYK percentages

Cyan11.9%
Magenta81.8%
Yellow0.0%
Key (black)0.8%

Color previews

#df2efd text on a black background

contrast 5.95:1

Card sample

#df2efd text on a white background

contrast 3.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2efd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2efd in the Color Lab