Skip to content

#df1ffb

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

RGB
223, 31, 251
HSL
292°, 97%, 55%
CMYK
11, 88, 0, 2
Luminance
0.2363

Every format

HEX#df1ffb
RGBrgb(223, 31, 251)
HSLhsl(292, 97%, 55%)
CMYKcmyk(11%, 88%, 0%, 2%)
LABlab(55.7 89.9 -66.3)
LCHlch(55.7 111.7 323.6)
OKLCHoklch(0.659 0.300 321.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df1ffb on white: 3.67:1
AA ✗ fail · AA-large · AAA
Aa
#df1ffb on black: 5.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green12.2%
Blue98.4%

CMYK percentages

Cyan11.2%
Magenta87.6%
Yellow0.0%
Key (black)1.6%

Color previews

#df1ffb text on a black background

contrast 5.73:1

Card sample

#df1ffb text on a white background

contrast 3.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df1ffb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df1ffb in the Color Lab