Skip to content

#ac2a39

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

RGB
172, 42, 57
HSL
353°, 61%, 42%
CMYK
0, 76, 67, 33
Luminance
0.1072

Every format

HEX#ac2a39
RGBrgb(172, 42, 57)
HSLhsl(353, 61%, 42%)
CMYKcmyk(0%, 76%, 67%, 33%)
LABlab(39.1 52.6 23.6)
LCHlch(39.1 57.7 24.1)
OKLCHoklch(0.496 0.166 19.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac2a39 on white: 6.68:1
AA ✓ pass · AA-large · AAA
Aa
#ac2a39 on black: 3.14:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green16.5%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta75.6%
Yellow66.9%
Key (black)32.5%

Color previews

#ac2a39 text on a black background

contrast 3.14:1

Card sample

#ac2a39 text on a white background

contrast 6.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac2a39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac2a39 in the Color Lab