Skip to content

#df0404

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

RGB
223, 4, 4
HSL
0°, 97%, 45%
CMYK
0, 98, 98, 13
Luminance
0.1578

Every format

HEX#df0404
RGBrgb(223, 4, 4)
HSLhsl(0, 97%, 45%)
CMYKcmyk(0%, 98%, 98%, 13%)
LABlab(46.7 72.1 59.6)
LCHlch(46.7 93.5 39.6)
OKLCHoklch(0.568 0.232 29.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df0404 on white: 5.05:1
AA ✓ pass · AA-large · AAA
Aa
#df0404 on black: 4.16:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green1.6%
Blue1.6%

CMYK percentages

Cyan0.0%
Magenta98.2%
Yellow98.2%
Key (black)12.5%

Color previews

#df0404 text on a black background

contrast 4.16:1

Card sample

#df0404 text on a white background

contrast 5.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df0404

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df0404 in the Color Lab