Skip to content

#ac2d39

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

RGB
172, 45, 57
HSL
354°, 59%, 43%
CMYK
0, 74, 67, 33
Luminance
0.1094

Every format

HEX#ac2d39
RGBrgb(172, 45, 57)
HSLhsl(354, 59%, 43%)
CMYKcmyk(0%, 74%, 67%, 33%)
LABlab(39.5 51.6 24.1)
LCHlch(39.5 56.9 25.0)
OKLCHoklch(0.498 0.163 20.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac2d39 on white: 6.59:1
AA ✓ pass · AA-large · AAA
Aa
#ac2d39 on black: 3.19:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green17.6%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta73.8%
Yellow66.9%
Key (black)32.5%

Color previews

#ac2d39 text on a black background

contrast 3.19:1

Card sample

#ac2d39 text on a white background

contrast 6.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac2d39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac2d39 in the Color Lab