Skip to content

#ac2216

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

RGB
172, 34, 22
HSL
5°, 77%, 38%
CMYK
0, 80, 87, 33
Luminance
0.0997

Every format

HEX#ac2216
RGBrgb(172, 34, 22)
HSLhsl(5, 77%, 38%)
CMYKcmyk(0%, 80%, 87%, 33%)
LABlab(37.8 53.8 42.3)
LCHlch(37.8 68.4 38.2)
OKLCHoklch(0.484 0.175 29.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac2216 on white: 7.01:1
AA ✓ pass · AA-large · AAA
Aa
#ac2216 on black: 2.99:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green13.3%
Blue8.6%

CMYK percentages

Cyan0.0%
Magenta80.2%
Yellow87.2%
Key (black)32.5%

Color previews

#ac2216 text on a black background

contrast 2.99:1

Card sample

#ac2216 text on a white background

contrast 7.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac2216

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac2216 in the Color Lab