Skip to content

#ac2c39

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

RGB
172, 44, 57
HSL
354°, 59%, 42%
CMYK
0, 74, 67, 33
Luminance
0.1087

Every format

HEX#ac2c39
RGBrgb(172, 44, 57)
HSLhsl(354, 59%, 42%)
CMYKcmyk(0%, 74%, 67%, 33%)
LABlab(39.4 52.0 23.9)
LCHlch(39.4 57.2 24.7)
OKLCHoklch(0.497 0.164 20.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac2c39 on white: 6.62:1
AA ✓ pass · AA-large · AAA
Aa
#ac2c39 on black: 3.17:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green17.3%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta74.4%
Yellow66.9%
Key (black)32.5%

Color previews

#ac2c39 text on a black background

contrast 3.17:1

Card sample

#ac2c39 text on a white background

contrast 6.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac2c39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac2c39 in the Color Lab