Skip to content

#df1f28

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

RGB
223, 31, 40
HSL
357°, 76%, 50%
CMYK
0, 86, 82, 13
Luminance
0.1682

Every format

HEX#df1f28
RGBrgb(223, 31, 40)
HSLhsl(357, 76%, 50%)
CMYKcmyk(0%, 86%, 82%, 13%)
LABlab(48.0 69.3 46.2)
LCHlch(48.0 83.3 33.7)
OKLCHoklch(0.579 0.221 26.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df1f28 on white: 4.81:1
AA ✓ pass · AA-large · AAA
Aa
#df1f28 on black: 4.36:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green12.2%
Blue15.7%

CMYK percentages

Cyan0.0%
Magenta86.1%
Yellow82.1%
Key (black)12.5%

Color previews

#df1f28 text on a black background

contrast 4.36:1

Card sample

#df1f28 text on a white background

contrast 4.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df1f28

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df1f28 in the Color Lab