Skip to content

#ac2d2f

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

RGB
172, 45, 47
HSL
359°, 59%, 43%
CMYK
0, 74, 73, 33
Luminance
0.1085

Every format

HEX#ac2d2f
RGBrgb(172, 45, 47)
HSLhsl(359, 59%, 43%)
CMYKcmyk(0%, 74%, 73%, 33%)
LABlab(39.3 51.1 30.0)
LCHlch(39.3 59.2 30.4)
OKLCHoklch(0.497 0.164 24.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.5%
Green17.6%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta73.8%
Yellow72.7%
Key (black)32.5%

Color previews

#ac2d2f text on a black background

contrast 3.17:1

Card sample

#ac2d2f text on a white background

contrast 6.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac2d2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac2d2f in the Color Lab