Skip to content

#ac2016

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

RGB
172, 32, 22
HSL
4°, 77%, 38%
CMYK
0, 81, 87, 33
Luminance
0.0986

Every format

HEX#ac2016
RGBrgb(172, 32, 22)
HSLhsl(4, 77%, 38%)
CMYKcmyk(0%, 81%, 87%, 33%)
LABlab(37.6 54.4 42.1)
LCHlch(37.6 68.8 37.8)
OKLCHoklch(0.483 0.177 29.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac2016 on white: 7.07:1
AA ✓ pass · AA-large · AAA
Aa
#ac2016 on black: 2.97:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green12.5%
Blue8.6%

CMYK percentages

Cyan0.0%
Magenta81.4%
Yellow87.2%
Key (black)32.5%

Color previews

#ac2016 text on a black background

contrast 2.97:1

Card sample

#ac2016 text on a white background

contrast 7.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac2016

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac2016 in the Color Lab