Skip to content

#df0afd

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

RGB
223, 10, 253
HSL
293°, 98%, 52%
CMYK
12, 96, 0, 1
Luminance
0.2300

Every format

HEX#df0afd
RGBrgb(223, 10, 253)
HSLhsl(293, 98%, 52%)
CMYKcmyk(12%, 96%, 0%, 1%)
LABlab(55.1 92.6 -68.4)
LCHlch(55.1 115.1 323.5)
OKLCHoklch(0.655 0.309 321.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df0afd on white: 3.75:1
AA ✗ fail · AA-large · AAA
Aa
#df0afd on black: 5.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green3.9%
Blue99.2%

CMYK percentages

Cyan11.9%
Magenta96.0%
Yellow0.0%
Key (black)0.8%

Color previews

#df0afd text on a black background

contrast 5.60:1

Card sample

#df0afd text on a white background

contrast 3.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df0afd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df0afd in the Color Lab