Skip to content

#a80f1f

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

RGB
168, 15, 31
HSL
354°, 84%, 36%
CMYK
0, 91, 82, 34
Luminance
0.0877

Every format

HEX#a80f1f
RGBrgb(168, 15, 31)
HSLhsl(354, 84%, 36%)
CMYKcmyk(0%, 91%, 82%, 34%)
LABlab(35.5 57.2 35.1)
LCHlch(35.5 67.1 31.5)
OKLCHoklch(0.467 0.181 24.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a80f1f on white: 7.63:1
AA ✓ pass · AA-large · AAA
Aa
#a80f1f on black: 2.75:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red65.9%
Green5.9%
Blue12.2%

CMYK percentages

Cyan0.0%
Magenta91.1%
Yellow81.5%
Key (black)34.1%

Color previews

#a80f1f text on a black background

contrast 2.75:1

Card sample

#a80f1f text on a white background

contrast 7.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a80f1f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a80f1f in the Color Lab