Skip to content

#ac3a21

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

RGB
172, 58, 33
HSL
11°, 68%, 40%
CMYK
0, 66, 81, 33
Luminance
0.1191

Every format

HEX#ac3a21
RGBrgb(172, 58, 33)
HSLhsl(11, 68%, 40%)
CMYKcmyk(0%, 66%, 81%, 33%)
LABlab(41.1 45.3 39.7)
LCHlch(41.1 60.3 41.2)
OKLCHoklch(0.509 0.154 33.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac3a21 on white: 6.21:1
AA ✓ pass · AA-large · AAA
Aa
#ac3a21 on black: 3.38:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green22.7%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta66.3%
Yellow80.8%
Key (black)32.5%

Color previews

#ac3a21 text on a black background

contrast 3.38:1

Card sample

#ac3a21 text on a white background

contrast 6.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac3a21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac3a21 in the Color Lab