Skip to content

#ac2621

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

RGB
172, 38, 33
HSL
2°, 68%, 40%
CMYK
0, 78, 81, 33
Luminance
0.1027

Every format

HEX#ac2621
RGBrgb(172, 38, 33)
HSLhsl(2, 68%, 40%)
CMYKcmyk(0%, 78%, 81%, 33%)
LABlab(38.3 52.9 37.0)
LCHlch(38.3 64.6 35.0)
OKLCHoklch(0.489 0.171 27.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac2621 on white: 6.88:1
AA ✓ pass · AA-large · AAA
Aa
#ac2621 on black: 3.05:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green14.9%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta77.9%
Yellow80.8%
Key (black)32.5%

Color previews

#ac2621 text on a black background

contrast 3.05:1

Card sample

#ac2621 text on a white background

contrast 6.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac2621

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac2621 in the Color Lab