Skip to content

#df2dff

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

RGB
223, 45, 255
HSL
291°, 100%, 59%
CMYK
13, 82, 0, 0
Luminance
0.2478

Every format

HEX#df2dff
RGBrgb(223, 45, 255)
HSLhsl(291, 100%, 59%)
CMYKcmyk(13%, 82%, 0%, 0%)
LABlab(56.9 88.0 -66.7)
LCHlch(56.9 110.4 322.8)
OKLCHoklch(0.668 0.295 320.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green17.6%
Blue100.0%

CMYK percentages

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

Color previews

#df2dff text on a black background

contrast 5.96:1

Card sample

#df2dff text on a white background

contrast 3.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2dff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2dff in the Color Lab