#cc1521
a dark, electric red · warm · closest name: crimson
RGB
204, 21, 33
HSL
356°, 81%, 44%
CMYK
0, 90, 84, 20
Luminance
0.1348
Every format
| HEX | #cc1521 |
| RGB | rgb(204, 21, 33) |
| HSL | hsl(356, 81%, 44%) |
| CMYK | cmyk(0%, 90%, 84%, 20%) |
| LAB | lab(43.5 65.8 44.2) |
| LCH | lch(43.5 79.3 33.9) |
| OKLCH | oklch(0.538 0.210 26.1) |
Copy-ready code
/* CSS */
color: #cc1521;
background-color: #cc1521;
/* Tailwind (arbitrary) */
class="text-[#cc1521] bg-[#cc1521]"
/* SCSS */
$brand: #cc1521;
/* SwiftUI */
Color(red: 0.800, green: 0.082, blue: 0.129)
/* Android */
Color.parseColor("#cc1521")Accessibility — WCAG contrast
Aa
#cc1521 on white: 5.68:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#cc1521 on black: 3.70:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green8.2%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta89.7%
Yellow83.8%
Key (black)20.0%
Color previews
#cc1521 text on a black background
contrast 3.70:1
Card sample
#cc1521 text on a white background
contrast 5.68:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cc1521;
Background color
Panel with #cc1521 background
background-color: #cc1521;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cc1521;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 21, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 21, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cc1521; background: linear-gradient(135deg, #cc1521, #CC8315);