#c91221
a dark, electric red · warm · closest name: firebrick
RGB
201, 18, 33
HSL
355°, 84%, 43%
CMYK
0, 91, 84, 21
Luminance
0.1296
Every format
| HEX | #c91221 |
| RGB | rgb(201, 18, 33) |
| HSL | hsl(355, 84%, 43%) |
| CMYK | cmyk(0%, 91%, 84%, 21%) |
| LAB | lab(42.7 65.5 43.3) |
| LCH | lch(42.7 78.5 33.5) |
| OKLCH | oklch(0.532 0.208 25.8) |
Copy-ready code
/* CSS */
color: #c91221;
background-color: #c91221;
/* Tailwind (arbitrary) */
class="text-[#c91221] bg-[#c91221]"
/* SCSS */
$brand: #c91221;
/* SwiftUI */
Color(red: 0.788, green: 0.071, blue: 0.129)
/* Android */
Color.parseColor("#c91221")Accessibility — WCAG contrast
Aa
#c91221 on white: 5.85:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#c91221 on black: 3.59:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red78.8%
Green7.1%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta91.0%
Yellow83.6%
Key (black)21.2%
Color previews
#c91221 text on a black background
contrast 3.59:1
Card sample
#c91221 text on a white background
contrast 5.85:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c91221;
Background color
Panel with #c91221 background
background-color: #c91221;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c91221;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(201, 18, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(201, 18, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c91221; background: linear-gradient(135deg, #c91221, #C97D12);