Skip to content

#df1f0d

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

RGB
223, 31, 13
HSL
5°, 89%, 46%
CMYK
0, 86, 94, 13
Luminance
0.1670

Every format

HEX#df1f0d
RGBrgb(223, 31, 13)
HSLhsl(5, 89%, 46%)
CMYKcmyk(0%, 86%, 94%, 13%)
LABlab(47.9 68.8 57.6)
LCHlch(47.9 89.8 39.9)
OKLCHoklch(0.577 0.223 30.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df1f0d on white: 4.84:1
AA ✓ pass · AA-large · AAA
Aa
#df1f0d on black: 4.34:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green12.2%
Blue5.1%

CMYK percentages

Cyan0.0%
Magenta86.1%
Yellow94.2%
Key (black)12.5%

Color previews

#df1f0d text on a black background

contrast 4.34:1

Card sample

#df1f0d text on a white background

contrast 4.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df1f0d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df1f0d in the Color Lab