#ac2e13
a dark, electric red · warm · closest name: firebrick
RGB
172, 46, 19
HSL
11°, 80%, 38%
CMYK
0, 73, 89, 33
Luminance
0.1077
Every format
| HEX | #ac2e13 |
| RGB | rgb(172, 46, 19) |
| HSL | hsl(11, 80%, 38%) |
| CMYK | cmyk(0%, 73%, 89%, 33%) |
| LAB | lab(39.2 49.8 44.8) |
| LCH | lch(39.2 67.0 42.0) |
| OKLCH | oklch(0.495 0.167 33.4) |
Copy-ready code
/* CSS */
color: #ac2e13;
background-color: #ac2e13;
/* Tailwind (arbitrary) */
class="text-[#ac2e13] bg-[#ac2e13]"
/* SCSS */
$brand: #ac2e13;
/* SwiftUI */
Color(red: 0.675, green: 0.180, blue: 0.075)
/* Android */
Color.parseColor("#ac2e13")Accessibility — WCAG contrast
Aa
#ac2e13 on white: 6.66:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#ac2e13 on black: 3.15:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green18.0%
Blue7.5%
CMYK percentages
Cyan0.0%
Magenta73.3%
Yellow89.0%
Key (black)32.5%
Color previews
#ac2e13 text on a black background
contrast 3.15:1
Card sample
#ac2e13 text on a white background
contrast 6.66:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ac2e13;
Background color
Panel with #ac2e13 background
background-color: #ac2e13;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ac2e13;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 46, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 46, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac2e13; background: linear-gradient(135deg, #ac2e13, #AC9413);