Skip to content

#ac3021

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

RGB
172, 48, 33
HSL
7°, 68%, 40%
CMYK
0, 72, 81, 33
Luminance
0.1099

Every format

HEX#ac3021
RGBrgb(172, 48, 33)
HSLhsl(7, 68%, 40%)
CMYKcmyk(0%, 72%, 81%, 33%)
LABlab(39.6 49.4 38.3)
LCHlch(39.6 62.5 37.8)
OKLCHoklch(0.498 0.163 30.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac3021 on white: 6.56:1
AA ✓ pass · AA-large · AAA
Aa
#ac3021 on black: 3.20:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green18.8%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta72.1%
Yellow80.8%
Key (black)32.5%

Color previews

#ac3021 text on a black background

contrast 3.20:1

Card sample

#ac3021 text on a white background

contrast 6.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac3021

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac3021 in the Color Lab