Skip to content

#df0804

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

RGB
223, 8, 4
HSL
1°, 97%, 45%
CMYK
0, 96, 98, 13
Luminance
0.1587

Every format

HEX#df0804
RGBrgb(223, 8, 4)
HSLhsl(1, 97%, 45%)
CMYKcmyk(0%, 96%, 98%, 13%)
LABlab(46.8 71.7 59.6)
LCHlch(46.8 93.3 39.7)
OKLCHoklch(0.569 0.231 29.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df0804 on white: 5.03:1
AA ✓ pass · AA-large · AAA
Aa
#df0804 on black: 4.17:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green3.1%
Blue1.6%

CMYK percentages

Cyan0.0%
Magenta96.4%
Yellow98.2%
Key (black)12.5%

Color previews

#df0804 text on a black background

contrast 4.17:1

Card sample

#df0804 text on a white background

contrast 5.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df0804

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df0804 in the Color Lab