Skip to content

#a40621

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

RGB
164, 6, 33
HSL
350°, 93%, 33%
CMYK
0, 96, 80, 36
Luminance
0.0813

Every format

HEX#a40621
RGBrgb(164, 6, 33)
HSLhsl(350, 93%, 33%)
CMYKcmyk(0%, 96%, 80%, 36%)
LABlab(34.3 57.4 32.3)
LCHlch(34.3 65.9 29.4)
OKLCHoklch(0.456 0.181 22.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a40621 on white: 8.00:1
AA ✓ pass · AA-large · AAA
Aa
#a40621 on black: 2.63:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red64.3%
Green2.4%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta96.3%
Yellow79.9%
Key (black)35.7%

Color previews

#a40621 text on a black background

contrast 2.63:1

Card sample

#a40621 text on a white background

contrast 8.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a40621

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a40621 in the Color Lab