Skip to content

#ac3f2f

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

RGB
172, 63, 47
HSL
8°, 57%, 43%
CMYK
0, 63, 73, 33
Luminance
0.1253

Every format

HEX#ac3f2f
RGBrgb(172, 63, 47)
HSLhsl(8, 57%, 43%)
CMYKcmyk(0%, 63%, 73%, 33%)
LABlab(42.0 43.7 33.1)
LCHlch(42.0 54.8 37.1)
OKLCHoklch(0.517 0.146 30.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac3f2f on white: 5.99:1
AA ✓ pass · AA-large · AAA
Aa
#ac3f2f on black: 3.51:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green24.7%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta63.4%
Yellow72.7%
Key (black)32.5%

Color previews

#ac3f2f text on a black background

contrast 3.51:1

Card sample

#ac3f2f text on a white background

contrast 5.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac3f2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac3f2f in the Color Lab