#912b21
a dark, vivid red · warm · closest name: maroon
RGB
145, 43, 33
HSL
5°, 63%, 35%
CMYK
0, 70, 77, 43
Luminance
0.0786
Every format
| HEX | #912b21 |
| RGB | rgb(145, 43, 33) |
| HSL | hsl(5, 63%, 35%) |
| CMYK | cmyk(0%, 70%, 77%, 43%) |
| LAB | lab(33.7 42.2 30.5) |
| LCH | lch(33.7 52.1 35.9) |
| OKLCH | oklch(0.445 0.139 29.3) |
Copy-ready code
/* CSS */
color: #912b21;
background-color: #912b21;
/* Tailwind (arbitrary) */
class="text-[#912b21] bg-[#912b21]"
/* SCSS */
$brand: #912b21;
/* SwiftUI */
Color(red: 0.569, green: 0.169, blue: 0.129)
/* Android */
Color.parseColor("#912b21")Accessibility — WCAG contrast
Aa
#912b21 on white: 8.17:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#912b21 on black: 2.57:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red56.9%
Green16.9%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta70.3%
Yellow77.2%
Key (black)43.1%
Color previews
#912b21 text on a black background
contrast 2.57:1
Card sample
#912b21 text on a white background
contrast 8.17:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #912b21;
Background color
Panel with #912b21 background
background-color: #912b21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #912b21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(145, 43, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(145, 43, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #912b21; background: linear-gradient(135deg, #912b21, #917621);