#cd1221
a dark, electric red · warm · closest name: crimson
RGB
205, 18, 33
HSL
355°, 84%, 44%
CMYK
0, 91, 84, 20
Luminance
0.1352
Every format
| HEX | #cd1221 |
| RGB | rgb(205, 18, 33) |
| HSL | hsl(355, 84%, 44%) |
| CMYK | cmyk(0%, 91%, 84%, 20%) |
| LAB | lab(43.5 66.5 44.4) |
| LCH | lch(43.5 80.0 33.7) |
| OKLCH | oklch(0.539 0.212 25.9) |
Copy-ready code
/* CSS */
color: #cd1221;
background-color: #cd1221;
/* Tailwind (arbitrary) */
class="text-[#cd1221] bg-[#cd1221]"
/* SCSS */
$brand: #cd1221;
/* SwiftUI */
Color(red: 0.804, green: 0.071, blue: 0.129)
/* Android */
Color.parseColor("#cd1221")Accessibility — WCAG contrast
Aa
#cd1221 on white: 5.67:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#cd1221 on black: 3.70:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green7.1%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta91.2%
Yellow83.9%
Key (black)19.6%
Color previews
#cd1221 text on a black background
contrast 3.70:1
Card sample
#cd1221 text on a white background
contrast 5.67:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cd1221;
Background color
Panel with #cd1221 background
background-color: #cd1221;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cd1221;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 18, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 18, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cd1221; background: linear-gradient(135deg, #cd1221, #CD8012);