Skip to content

#ac2c49

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

RGB
172, 44, 73
HSL
346°, 59%, 42%
CMYK
0, 74, 58, 33
Luminance
0.1105

Every format

HEX#ac2c49
RGBrgb(172, 44, 73)
HSLhsl(346, 59%, 42%)
CMYKcmyk(0%, 74%, 58%, 33%)
LABlab(39.7 53.0 14.3)
LCHlch(39.7 54.9 15.1)
OKLCHoklch(0.501 0.164 12.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac2c49 on white: 6.54:1
AA ✓ pass · AA-large · AAA
Aa
#ac2c49 on black: 3.21:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green17.3%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta74.4%
Yellow57.6%
Key (black)32.5%

Color previews

#ac2c49 text on a black background

contrast 3.21:1

Card sample

#ac2c49 text on a white background

contrast 6.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac2c49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac2c49 in the Color Lab