Skip to content

#d4100f

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

RGB
212, 16, 15
HSL
0°, 87%, 45%
CMYK
0, 93, 93, 17
Luminance
0.1440

Every format

HEX#d4100f
RGBrgb(212, 16, 15)
HSLhsl(0, 87%, 45%)
CMYKcmyk(0%, 93%, 93%, 17%)
LABlab(44.8 68.3 54.0)
LCHlch(44.8 87.1 38.3)
OKLCHoklch(0.551 0.220 28.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d4100f on white: 5.41:1
AA ✓ pass · AA-large · AAA
Aa
#d4100f on black: 3.88:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.1%
Green6.3%
Blue5.9%

CMYK percentages

Cyan0.0%
Magenta92.5%
Yellow92.9%
Key (black)16.9%

Color previews

#d4100f text on a black background

contrast 3.88:1

Card sample

#d4100f text on a white background

contrast 5.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(212, 16, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(212, 16, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d4100f;
background: linear-gradient(135deg, #d4100f, #D4930F);

Monochromatic scale

Palettes built from #d4100f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4100f in the Color Lab