Skip to content

#df1513

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

RGB
223, 21, 19
HSL
1°, 84%, 48%
CMYK
0, 91, 92, 13
Luminance
0.1627

Every format

HEX#df1513
RGBrgb(223, 21, 19)
HSLhsl(1, 84%, 48%)
CMYKcmyk(0%, 91%, 92%, 13%)
LABlab(47.3 70.5 55.3)
LCHlch(47.3 89.6 38.1)
OKLCHoklch(0.573 0.227 28.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green8.2%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta90.6%
Yellow91.5%
Key (black)12.5%

Color previews

#df1513 text on a black background

contrast 4.25:1

Card sample

#df1513 text on a white background

contrast 4.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df1513

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df1513 in the Color Lab