#c90b21
a dark, electric red · warm · closest name: crimson
RGB
201, 11, 33
HSL
353°, 90%, 42%
CMYK
0, 95, 84, 21
Luminance
0.1277
Every format
| HEX | #c90b21 |
| RGB | rgb(201, 11, 33) |
| HSL | hsl(353, 90%, 42%) |
| CMYK | cmyk(0%, 95%, 84%, 21%) |
| LAB | lab(42.4 66.3 43.0) |
| LCH | lch(42.4 79.1 33.0) |
| OKLCH | oklch(0.529 0.211 25.3) |
Copy-ready code
/* CSS */
color: #c90b21;
background-color: #c90b21;
/* Tailwind (arbitrary) */
class="text-[#c90b21] bg-[#c90b21]"
/* SCSS */
$brand: #c90b21;
/* SwiftUI */
Color(red: 0.788, green: 0.043, blue: 0.129)
/* Android */
Color.parseColor("#c90b21")Accessibility — WCAG contrast
Aa
#c90b21 on white: 5.91:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#c90b21 on black: 3.55:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red78.8%
Green4.3%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta94.5%
Yellow83.6%
Key (black)21.2%
Color previews
#c90b21 text on a black background
contrast 3.55:1
Card sample
#c90b21 text on a white background
contrast 5.91:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c90b21;
Background color
Panel with #c90b21 background
background-color: #c90b21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c90b21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(201, 11, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(201, 11, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c90b21; background: linear-gradient(135deg, #c90b21, #C9740B);