Skip to content

#df1f80

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

RGB
223, 31, 128
HSL
330°, 76%, 50%
CMYK
0, 86, 43, 13
Luminance
0.1823

Every format

HEX#df1f80
RGBrgb(223, 31, 128)
HSLhsl(330, 76%, 50%)
CMYKcmyk(0%, 86%, 43%, 13%)
LABlab(49.8 74.3 -4.1)
LCHlch(49.8 74.4 356.8)
OKLCHoklch(0.597 0.229 357.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df1f80 on white: 4.52:1
AA ✓ pass · AA-large · AAA
Aa
#df1f80 on black: 4.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green12.2%
Blue50.2%

CMYK percentages

Cyan0.0%
Magenta86.1%
Yellow42.6%
Key (black)12.5%

Color previews

#df1f80 text on a black background

contrast 4.65:1

Card sample

#df1f80 text on a white background

contrast 4.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df1f80

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df1f80 in the Color Lab