Skip to content

#a62637

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

RGB
166, 38, 55
HSL
352°, 63%, 40%
CMYK
0, 77, 67, 35
Luminance
0.0977

Every format

HEX#a62637
RGBrgb(166, 38, 55)
HSLhsl(352, 63%, 40%)
CMYKcmyk(0%, 77%, 67%, 35%)
LABlab(37.4 52.0 22.5)
LCHlch(37.4 56.7 23.4)
OKLCHoklch(0.481 0.163 19.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a62637 on white: 7.11:1
AA ✓ pass · AA-large · AAA
Aa
#a62637 on black: 2.95:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red65.1%
Green14.9%
Blue21.6%

CMYK percentages

Cyan0.0%
Magenta77.1%
Yellow66.9%
Key (black)34.9%

Color previews

#a62637 text on a black background

contrast 2.95:1

Card sample

#a62637 text on a white background

contrast 7.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a62637

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a62637 in the Color Lab