Skip to content

#ac0f13

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

RGB
172, 15, 19
HSL
359°, 84%, 37%
CMYK
0, 91, 89, 33
Luminance
0.0916

Every format

HEX#ac0f13
RGBrgb(172, 15, 19)
HSLhsl(359, 84%, 37%)
CMYKcmyk(0%, 91%, 89%, 33%)
LABlab(36.3 58.0 42.5)
LCHlch(36.3 71.9 36.2)
OKLCHoklch(0.473 0.186 27.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac0f13 on white: 7.42:1
AA ✓ pass · AA-large · AAA
Aa
#ac0f13 on black: 2.83:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green5.9%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta91.3%
Yellow89.0%
Key (black)32.5%

Color previews

#ac0f13 text on a black background

contrast 2.83:1

Card sample

#ac0f13 text on a white background

contrast 7.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac0f13

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac0f13 in the Color Lab