Skip to content

#df2912

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

RGB
223, 41, 18
HSL
7°, 85%, 47%
CMYK
0, 82, 92, 13
Luminance
0.1732

Every format

HEX#df2912
RGBrgb(223, 41, 18)
HSLhsl(7, 85%, 47%)
CMYKcmyk(0%, 82%, 92%, 13%)
LABlab(48.7 66.7 56.5)
LCHlch(48.7 87.4 40.3)
OKLCHoklch(0.583 0.218 30.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df2912 on white: 4.70:1
AA ✓ pass · AA-large · AAA
Aa
#df2912 on black: 4.46:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green16.1%
Blue7.1%

CMYK percentages

Cyan0.0%
Magenta81.6%
Yellow91.9%
Key (black)12.5%

Color previews

#df2912 text on a black background

contrast 4.46:1

Card sample

#df2912 text on a white background

contrast 4.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2912

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2912 in the Color Lab