Skip to content

#a40607

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

RGB
164, 6, 7
HSL
360°, 93%, 33%
CMYK
0, 96, 96, 36
Luminance
0.0804

Every format

HEX#a40607
RGBrgb(164, 6, 7)
HSLhsl(360, 93%, 33%)
CMYKcmyk(0%, 96%, 96%, 36%)
LABlab(34.1 56.9 45.3)
LCHlch(34.1 72.7 38.5)
OKLCHoklch(0.454 0.183 28.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a40607 on white: 8.05:1
AA ✓ pass · AA-large · AAA
Aa
#a40607 on black: 2.61:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red64.3%
Green2.4%
Blue2.7%

CMYK percentages

Cyan0.0%
Magenta96.3%
Yellow95.7%
Key (black)35.7%

Color previews

#a40607 text on a black background

contrast 2.61:1

Card sample

#a40607 text on a white background

contrast 8.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(164, 6, 7, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(164, 6, 7, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a40607;
background: linear-gradient(135deg, #a40607, #A46E06);

Monochromatic scale

Palettes built from #a40607

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a40607 in the Color Lab