Skip to content

#df72f1

a light, electric magenta / pink · warm · closest name: violet

RGB
223, 114, 241
HSL
292°, 82%, 70%
CMYK
8, 53, 0, 6
Luminance
0.3407

Every format

HEX#df72f1
RGBrgb(223, 114, 241)
HSLhsl(292, 82%, 70%)
CMYKcmyk(8%, 53%, 0%, 6%)
LABlab(65.0 60.5 -45.9)
LCHlch(65.0 76.0 322.8)
OKLCHoklch(0.724 0.206 321.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df72f1 on white: 2.69:1
AA ✗ fail · AA-large · AAA
Aa
#df72f1 on black: 7.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green44.7%
Blue94.5%

CMYK percentages

Cyan7.5%
Magenta52.7%
Yellow0.0%
Key (black)5.5%

Color previews

#df72f1 text on a black background

contrast 7.81:1

Card sample

#df72f1 text on a white background

contrast 2.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df72f1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df72f1 in the Color Lab