Skip to content

#df3ee2

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

RGB
223, 62, 226
HSL
299°, 74%, 57%
CMYK
1, 73, 0, 11
Luminance
0.2462

Every format

HEX#df3ee2
RGBrgb(223, 62, 226)
HSLhsl(299, 74%, 57%)
CMYKcmyk(1%, 73%, 0%, 11%)
LABlab(56.7 78.8 -50.7)
LCHlch(56.7 93.7 327.3)
OKLCHoklch(0.661 0.260 327.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green24.3%
Blue88.6%

CMYK percentages

Cyan1.3%
Magenta72.6%
Yellow0.0%
Key (black)11.4%

Color previews

#df3ee2 text on a black background

contrast 5.92:1

Card sample

#df3ee2 text on a white background

contrast 3.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df3ee2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df3ee2 in the Color Lab