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