Skip to content

#df48ff

a balanced, electric violet · warm · closest name: magenta

RGB
223, 72, 255
HSL
290°, 100%, 64%
CMYK
13, 72, 0, 0
Luminance
0.2754

Every format

HEX#df48ff
RGBrgb(223, 72, 255)
HSLhsl(290, 100%, 64%)
CMYKcmyk(13%, 72%, 0%, 0%)
LABlab(59.5 80.4 -62.5)
LCHlch(59.5 101.8 322.2)
OKLCHoklch(0.686 0.272 320.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df48ff on white: 3.23:1
AA ✗ fail · AA-large · AAA
Aa
#df48ff on black: 6.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green28.2%
Blue100.0%

CMYK percentages

Cyan12.5%
Magenta71.8%
Yellow0.0%
Key (black)0.0%

Color previews

#df48ff text on a black background

contrast 6.51:1

Card sample

#df48ff text on a white background

contrast 3.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df48ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df48ff in the Color Lab