Skip to content

#ac2002

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

RGB
172, 32, 2
HSL
11°, 98%, 34%
CMYK
0, 81, 99, 33
Luminance
0.0981

Every format

HEX#ac2002
RGBrgb(172, 32, 2)
HSLhsl(11, 98%, 34%)
CMYKcmyk(0%, 81%, 99%, 33%)
LABlab(37.5 54.1 50.0)
LCHlch(37.5 73.6 42.7)
OKLCHoklch(0.482 0.178 32.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.5%
Green12.5%
Blue0.8%

CMYK percentages

Cyan0.0%
Magenta81.4%
Yellow98.8%
Key (black)32.5%

Color previews

#ac2002 text on a black background

contrast 2.96:1

Card sample

#ac2002 text on a white background

contrast 7.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac2002

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac2002 in the Color Lab