Skip to content

#df4af3

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

RGB
223, 74, 243
HSL
293°, 88%, 62%
CMYK
8, 70, 0, 5
Luminance
0.2706

Every format

HEX#df4af3
RGBrgb(223, 74, 243)
HSLhsl(293, 88%, 62%)
CMYKcmyk(8%, 70%, 0%, 5%)
LABlab(59.0 77.7 -56.5)
LCHlch(59.0 96.1 324.0)
OKLCHoklch(0.681 0.260 322.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df4af3 on white: 3.28:1
AA ✗ fail · AA-large · AAA
Aa
#df4af3 on black: 6.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green29.0%
Blue95.3%

CMYK percentages

Cyan8.2%
Magenta69.5%
Yellow0.0%
Key (black)4.7%

Color previews

#df4af3 text on a black background

contrast 6.41:1

Card sample

#df4af3 text on a white background

contrast 3.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df4af3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df4af3 in the Color Lab