Skip to content

#df2cff

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

RGB
223, 44, 255
HSL
291°, 100%, 59%
CMYK
13, 83, 0, 0
Luminance
0.2471

Every format

HEX#df2cff
RGBrgb(223, 44, 255)
HSLhsl(291, 100%, 59%)
CMYKcmyk(13%, 83%, 0%, 0%)
LABlab(56.8 88.2 -66.8)
LCHlch(56.8 110.6 322.9)
OKLCHoklch(0.667 0.296 320.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green17.3%
Blue100.0%

CMYK percentages

Cyan12.5%
Magenta82.7%
Yellow0.0%
Key (black)0.0%

Color previews

#df2cff text on a black background

contrast 5.94:1

Card sample

#df2cff text on a white background

contrast 3.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2cff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2cff in the Color Lab