Skip to content

#ac2000

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

RGB
172, 32, 0
HSL
11°, 100%, 34%
CMYK
0, 81, 100, 33
Luminance
0.0980

Every format

HEX#ac2000
RGBrgb(172, 32, 0)
HSLhsl(11, 100%, 34%)
CMYKcmyk(0%, 81%, 100%, 33%)
LABlab(37.5 54.0 50.8)
LCHlch(37.5 74.2 43.2)
OKLCHoklch(0.482 0.179 32.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac2000 on white: 7.09:1
AA ✓ pass · AA-large · AAA
Aa
#ac2000 on black: 2.96:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green12.5%
Blue0.0%

CMYK percentages

Cyan0.0%
Magenta81.4%
Yellow100.0%
Key (black)32.5%

Color previews

#ac2000 text on a black background

contrast 2.96:1

Card sample

#ac2000 text on a white background

contrast 7.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac2000

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac2000 in the Color Lab