Skip to content

#a62621

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

RGB
166, 38, 33
HSL
2°, 67%, 39%
CMYK
0, 77, 80, 35
Luminance
0.0960

Every format

HEX#a62621
RGBrgb(166, 38, 33)
HSLhsl(2, 67%, 39%)
CMYKcmyk(0%, 77%, 80%, 35%)
LABlab(37.1 51.0 35.4)
LCHlch(37.1 62.1 34.8)
OKLCHoklch(0.478 0.165 27.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a62621 on white: 7.19:1
AA ✓ pass · AA-large · AAA
Aa
#a62621 on black: 2.92:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red65.1%
Green14.9%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta77.1%
Yellow80.1%
Key (black)34.9%

Color previews

#a62621 text on a black background

contrast 2.92:1

Card sample

#a62621 text on a white background

contrast 7.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a62621

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a62621 in the Color Lab