Skip to content

#ac1d21

a dark, vivid red · warm · “firebrick”

RGB
172, 29, 33
HSL
358°, 71%, 39%
CMYK
0, 83, 81, 33
Luminance
0.0976

Every format

HEX#ac1d21
RGBrgb(172, 29, 33)
HSLhsl(358, 71%, 39%)
CMYKcmyk(0%, 83%, 81%, 33%)
LABlab(37.4 55.5 36.1)
LCHlch(37.4 66.2 33.1)
OKLCHoklch(0.482 0.177 26.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac1d21 on white: 7.11:1
AA ✓ pass · AA-large · AAA
Aa
#ac1d21 on black: 2.95:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green11.4%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta83.1%
Yellow80.8%
Key (black)32.5%

Color previews

#ac1d21 text on a black background

contrast 2.95:1

Card sample

#ac1d21 text on a white background

contrast 7.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac1d21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac1d21 in the Color Lab