Skip to content

#ac3b2c

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

RGB
172, 59, 44
HSL
7°, 59%, 42%
CMYK
0, 66, 74, 33
Luminance
0.1208

Every format

HEX#ac3b2c
RGBrgb(172, 59, 44)
HSLhsl(7, 59%, 42%)
CMYKcmyk(0%, 66%, 74%, 33%)
LABlab(41.4 45.3 34.0)
LCHlch(41.4 56.7 36.9)
OKLCHoklch(0.512 0.151 30.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac3b2c on white: 6.15:1
AA ✓ pass · AA-large · AAA
Aa
#ac3b2c on black: 3.42:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green23.1%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta65.7%
Yellow74.4%
Key (black)32.5%

Color previews

#ac3b2c text on a black background

contrast 3.42:1

Card sample

#ac3b2c text on a white background

contrast 6.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac3b2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac3b2c in the Color Lab