Skip to content

#df1502

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

RGB
223, 21, 2
HSL
5°, 98%, 44%
CMYK
0, 91, 99, 13
Luminance
0.1623

Every format

HEX#df1502
RGBrgb(223, 21, 2)
HSLhsl(5, 98%, 44%)
CMYKcmyk(0%, 91%, 99%, 13%)
LABlab(47.3 70.4 60.4)
LCHlch(47.3 92.7 40.6)
OKLCHoklch(0.573 0.228 30.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green8.2%
Blue0.8%

CMYK percentages

Cyan0.0%
Magenta90.6%
Yellow99.1%
Key (black)12.5%

Color previews

#df1502 text on a black background

contrast 4.25:1

Card sample

#df1502 text on a white background

contrast 4.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df1502

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df1502 in the Color Lab