Skip to content

#df3ce2

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

RGB
223, 60, 226
HSL
299°, 74%, 56%
CMYK
1, 74, 0, 11
Luminance
0.2441

Every format

HEX#df3ce2
RGBrgb(223, 60, 226)
HSLhsl(299, 74%, 56%)
CMYKcmyk(1%, 74%, 0%, 11%)
LABlab(56.5 79.4 -51.0)
LCHlch(56.5 94.4 327.3)
OKLCHoklch(0.660 0.262 327.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df3ce2 on white: 3.57:1
AA ✗ fail · AA-large · AAA
Aa
#df3ce2 on black: 5.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green23.5%
Blue88.6%

CMYK percentages

Cyan1.3%
Magenta73.5%
Yellow0.0%
Key (black)11.4%

Color previews

#df3ce2 text on a black background

contrast 5.88:1

Card sample

#df3ce2 text on a white background

contrast 3.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df3ce2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df3ce2 in the Color Lab