#8a2321
a dark, vivid red · warm · closest name: maroon
RGB
138, 35, 33
HSL
1°, 61%, 34%
CMYK
0, 75, 76, 46
Luminance
0.0672
Every format
| HEX | #8a2321 |
| RGB | rgb(138, 35, 33) |
| HSL | hsl(1, 61%, 34%) |
| CMYK | cmyk(0%, 75%, 76%, 46%) |
| LAB | lab(31.1 43.0 27.4) |
| LCH | lch(31.1 51.0 32.4) |
| OKLCH | oklch(0.423 0.139 26.3) |
Copy-ready code
/* CSS */
color: #8a2321;
background-color: #8a2321;
/* Tailwind (arbitrary) */
class="text-[#8a2321] bg-[#8a2321]"
/* SCSS */
$brand: #8a2321;
/* SwiftUI */
Color(red: 0.541, green: 0.137, blue: 0.129)
/* Android */
Color.parseColor("#8a2321")Accessibility — WCAG contrast
Aa
#8a2321 on white: 8.96:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#8a2321 on black: 2.34:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red54.1%
Green13.7%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta74.6%
Yellow76.1%
Key (black)45.9%
Color previews
#8a2321 text on a black background
contrast 2.34:1
Card sample
#8a2321 text on a white background
contrast 8.96:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8a2321;
Background color
Panel with #8a2321 background
background-color: #8a2321;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8a2321;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(138, 35, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(138, 35, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8a2321; background: linear-gradient(135deg, #8a2321, #8A6921);