#ac3f21
a dark, vivid red · warm · closest name: firebrick
RGB
172, 63, 33
HSL
13°, 68%, 40%
CMYK
0, 63, 81, 33
Luminance
0.1244
Every format
| HEX | #ac3f21 |
| RGB | rgb(172, 63, 33) |
| HSL | hsl(13, 68%, 40%) |
| CMYK | cmyk(0%, 63%, 81%, 33%) |
| LAB | lab(41.9 43.1 40.5) |
| LCH | lch(41.9 59.2 43.2) |
| OKLCH | oklch(0.515 0.149 35.9) |
Copy-ready code
/* CSS */
color: #ac3f21;
background-color: #ac3f21;
/* Tailwind (arbitrary) */
class="text-[#ac3f21] bg-[#ac3f21]"
/* SCSS */
$brand: #ac3f21;
/* SwiftUI */
Color(red: 0.675, green: 0.247, blue: 0.129)
/* Android */
Color.parseColor("#ac3f21")Accessibility — WCAG contrast
Aa
#ac3f21 on white: 6.02:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#ac3f21 on black: 3.49:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green24.7%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta63.4%
Yellow80.8%
Key (black)32.5%
Color previews
#ac3f21 text on a black background
contrast 3.49:1
Card sample
#ac3f21 text on a white background
contrast 6.02:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ac3f21;
Background color
Panel with #ac3f21 background
background-color: #ac3f21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ac3f21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 63, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 63, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac3f21; background: linear-gradient(135deg, #ac3f21, #AC9C21);