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