#ab2621
a dark, vivid red · warm · closest name: firebrick
RGB
171, 38, 33
HSL
2°, 68%, 40%
CMYK
0, 78, 81, 33
Luminance
0.1015
Every format
| HEX | #ab2621 |
| RGB | rgb(171, 38, 33) |
| HSL | hsl(2, 68%, 40%) |
| CMYK | cmyk(0%, 78%, 81%, 33%) |
| LAB | lab(38.1 52.6 36.8) |
| LCH | lch(38.1 64.2 34.9) |
| OKLCH | oklch(0.487 0.170 27.8) |
Copy-ready code
/* CSS */
color: #ab2621;
background-color: #ab2621;
/* Tailwind (arbitrary) */
class="text-[#ab2621] bg-[#ab2621]"
/* SCSS */
$brand: #ab2621;
/* SwiftUI */
Color(red: 0.671, green: 0.149, blue: 0.129)
/* Android */
Color.parseColor("#ab2621")Accessibility — WCAG contrast
Aa
#ab2621 on white: 6.93:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#ab2621 on black: 3.03:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.1%
Green14.9%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta77.8%
Yellow80.7%
Key (black)32.9%
Color previews
#ab2621 text on a black background
contrast 3.03:1
Card sample
#ab2621 text on a white background
contrast 6.93:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ab2621;
Background color
Panel with #ab2621 background
background-color: #ab2621;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ab2621;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(171, 38, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 38, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ab2621; background: linear-gradient(135deg, #ab2621, #AB8221);