Skip to content

#df1df1

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

RGB
223, 29, 241
HSL
295°, 88%, 53%
CMYK
8, 88, 0, 6
Luminance
0.2292

Every format

HEX#df1df1
RGBrgb(223, 29, 241)
HSLhsl(295, 88%, 53%)
CMYKcmyk(8%, 88%, 0%, 6%)
LABlab(55.0 88.7 -61.9)
LCHlch(55.0 108.1 325.1)
OKLCHoklch(0.652 0.294 324.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df1df1 on white: 3.76:1
AA ✗ fail · AA-large · AAA
Aa
#df1df1 on black: 5.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green11.4%
Blue94.5%

CMYK percentages

Cyan7.5%
Magenta88.0%
Yellow0.0%
Key (black)5.5%

Color previews

#df1df1 text on a black background

contrast 5.58:1

Card sample

#df1df1 text on a white background

contrast 3.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df1df1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df1df1 in the Color Lab