Skip to content

#df1504

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

RGB
223, 21, 4
HSL
5°, 97%, 45%
CMYK
0, 91, 98, 13
Luminance
0.1623

Every format

HEX#df1504
RGBrgb(223, 21, 4)
HSLhsl(5, 97%, 45%)
CMYKcmyk(0%, 91%, 98%, 13%)
LABlab(47.3 70.4 59.8)
LCHlch(47.3 92.3 40.4)
OKLCHoklch(0.573 0.228 30.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df1504 on white: 4.95:1
AA ✓ pass · AA-large · AAA
Aa
#df1504 on black: 4.25:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green8.2%
Blue1.6%

CMYK percentages

Cyan0.0%
Magenta90.6%
Yellow98.2%
Key (black)12.5%

Color previews

#df1504 text on a black background

contrast 4.25:1

Card sample

#df1504 text on a white background

contrast 4.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df1504

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df1504 in the Color Lab