Skip to content

#ac3d21

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

RGB
172, 61, 33
HSL
12°, 68%, 40%
CMYK
0, 65, 81, 33
Luminance
0.1222

Every format

HEX#ac3d21
RGBrgb(172, 61, 33)
HSLhsl(12, 68%, 40%)
CMYKcmyk(0%, 65%, 81%, 33%)
LABlab(41.6 44.0 40.2)
LCHlch(41.6 59.6 42.4)
OKLCHoklch(0.513 0.151 35.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac3d21 on white: 6.10:1
AA ✓ pass · AA-large · AAA
Aa
#ac3d21 on black: 3.44:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green23.9%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta64.5%
Yellow80.8%
Key (black)32.5%

Color previews

#ac3d21 text on a black background

contrast 3.44:1

Card sample

#ac3d21 text on a white background

contrast 6.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac3d21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac3d21 in the Color Lab