#ab3b21
a dark, vivid red · warm · closest name: firebrick
RGB
171, 59, 33
HSL
11°, 68%, 40%
CMYK
0, 66, 81, 33
Luminance
0.1190
Every format
| HEX | #ab3b21 |
| RGB | rgb(171, 59, 33) |
| HSL | hsl(11, 68%, 40%) |
| CMYK | cmyk(0%, 66%, 81%, 33%) |
| LAB | lab(41.0 44.5 39.7) |
| LCH | lch(41.0 59.6 41.7) |
| OKLCH | oklch(0.509 0.152 34.4) |
Copy-ready code
/* CSS */
color: #ab3b21;
background-color: #ab3b21;
/* Tailwind (arbitrary) */
class="text-[#ab3b21] bg-[#ab3b21]"
/* SCSS */
$brand: #ab3b21;
/* SwiftUI */
Color(red: 0.671, green: 0.231, blue: 0.129)
/* Android */
Color.parseColor("#ab3b21")Accessibility — WCAG contrast
Aa
#ab3b21 on white: 6.21:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#ab3b21 on black: 3.38:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.1%
Green23.1%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta65.5%
Yellow80.7%
Key (black)32.9%
Color previews
#ab3b21 text on a black background
contrast 3.38:1
Card sample
#ab3b21 text on a white background
contrast 6.21:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ab3b21;
Background color
Panel with #ab3b21 background
background-color: #ab3b21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ab3b21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(171, 59, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 59, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ab3b21; background: linear-gradient(135deg, #ab3b21, #AB9721);