Skip to content

#df4dfc

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

RGB
223, 77, 252
HSL
290°, 97%, 65%
CMYK
12, 69, 0, 1
Luminance
0.2802

Every format

HEX#df4dfc
RGBrgb(223, 77, 252)
HSLhsl(290, 97%, 65%)
CMYKcmyk(12%, 69%, 0%, 1%)
LABlab(59.9 78.2 -60.1)
LCHlch(59.9 98.6 322.4)
OKLCHoklch(0.689 0.264 320.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df4dfc on white: 3.18:1
AA ✗ fail · AA-large · AAA
Aa
#df4dfc on black: 6.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green30.2%
Blue98.8%

CMYK percentages

Cyan11.5%
Magenta69.4%
Yellow0.0%
Key (black)1.2%

Color previews

#df4dfc text on a black background

contrast 6.60:1

Card sample

#df4dfc text on a white background

contrast 3.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df4dfc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df4dfc in the Color Lab