Skip to content

#df1f48

a balanced, electric red · warm · closest name: crimson

RGB
223, 31, 72
HSL
347°, 76%, 50%
CMYK
0, 86, 68, 13
Luminance
0.1714

Every format

HEX#df1f48
RGBrgb(223, 31, 72)
HSLhsl(347, 76%, 50%)
CMYKcmyk(0%, 86%, 68%, 13%)
LABlab(48.4 70.4 28.2)
LCHlch(48.4 75.9 21.8)
OKLCHoklch(0.583 0.219 17.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df1f48 on white: 4.74:1
AA ✓ pass · AA-large · AAA
Aa
#df1f48 on black: 4.43:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green12.2%
Blue28.2%

CMYK percentages

Cyan0.0%
Magenta86.1%
Yellow67.7%
Key (black)12.5%

Color previews

#df1f48 text on a black background

contrast 4.43:1

Card sample

#df1f48 text on a white background

contrast 4.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df1f48

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df1f48 in the Color Lab