#cd0213
a dark, electric red · warm · closest name: crimson
RGB
205, 2, 19
HSL
355°, 98%, 41%
CMYK
0, 99, 91, 20
Luminance
0.1307
Every format
| HEX | #cd0213 |
| RGB | rgb(205, 2, 19) |
| HSL | hsl(355, 98%, 41%) |
| CMYK | cmyk(0%, 99%, 91%, 20%) |
| LAB | lab(42.9 68.0 50.5) |
| LCH | lch(42.9 84.7 36.6) |
| OKLCH | oklch(0.534 0.217 27.4) |
Copy-ready code
/* CSS */
color: #cd0213;
background-color: #cd0213;
/* Tailwind (arbitrary) */
class="text-[#cd0213] bg-[#cd0213]"
/* SCSS */
$brand: #cd0213;
/* SwiftUI */
Color(red: 0.804, green: 0.008, blue: 0.075)
/* Android */
Color.parseColor("#cd0213")Accessibility — WCAG contrast
Aa
#cd0213 on white: 5.81:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#cd0213 on black: 3.61:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green0.8%
Blue7.5%
CMYK percentages
Cyan0.0%
Magenta99.0%
Yellow90.7%
Key (black)19.6%
Color previews
#cd0213 text on a black background
contrast 3.61:1
Card sample
#cd0213 text on a white background
contrast 5.81:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cd0213;
Background color
Panel with #cd0213 background
background-color: #cd0213;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cd0213;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 2, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 2, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cd0213; background: linear-gradient(135deg, #cd0213, #CD7802);