Skip to content

#a80c21

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

RGB
168, 12, 33
HSL
352°, 87%, 35%
CMYK
0, 93, 80, 34
Luminance
0.0870

Every format

HEX#a80c21
RGBrgb(168, 12, 33)
HSLhsl(352, 87%, 35%)
CMYKcmyk(0%, 93%, 80%, 34%)
LABlab(35.4 57.7 33.8)
LCHlch(35.4 66.8 30.3)
OKLCHoklch(0.466 0.182 23.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a80c21 on white: 7.67:1
AA ✓ pass · AA-large · AAA
Aa
#a80c21 on black: 2.74:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red65.9%
Green4.7%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta92.9%
Yellow80.4%
Key (black)34.1%

Color previews

#a80c21 text on a black background

contrast 2.74:1

Card sample

#a80c21 text on a white background

contrast 7.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a80c21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a80c21 in the Color Lab