Skip to content

#df2af3

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

RGB
223, 42, 243
HSL
294°, 89%, 56%
CMYK
8, 83, 0, 5
Luminance
0.2381

Every format

HEX#df2af3
RGBrgb(223, 42, 243)
HSLhsl(294, 89%, 56%)
CMYKcmyk(8%, 83%, 0%, 5%)
LABlab(55.9 86.7 -61.5)
LCHlch(55.9 106.3 324.6)
OKLCHoklch(0.658 0.289 323.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df2af3 on white: 3.64:1
AA ✗ fail · AA-large · AAA
Aa
#df2af3 on black: 5.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green16.5%
Blue95.3%

CMYK percentages

Cyan8.2%
Magenta82.7%
Yellow0.0%
Key (black)4.7%

Color previews

#df2af3 text on a black background

contrast 5.76:1

Card sample

#df2af3 text on a white background

contrast 3.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2af3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2af3 in the Color Lab