Skip to content

#df0ad7

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

RGB
223, 10, 215
HSL
302°, 91%, 46%
CMYK
0, 96, 4, 13
Luminance
0.2081

Every format

HEX#df0ad7
RGBrgb(223, 10, 215)
HSLhsl(302, 91%, 46%)
CMYKcmyk(0%, 96%, 4%, 13%)
LABlab(52.8 86.9 -50.8)
LCHlch(52.8 100.7 329.7)
OKLCHoklch(0.631 0.284 330.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df0ad7 on white: 4.07:1
AA ✗ fail · AA-large · AAA
Aa
#df0ad7 on black: 5.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green3.9%
Blue84.3%

CMYK percentages

Cyan0.0%
Magenta95.5%
Yellow3.6%
Key (black)12.5%

Color previews

#df0ad7 text on a black background

contrast 5.16:1

Card sample

#df0ad7 text on a white background

contrast 4.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df0ad7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df0ad7 in the Color Lab