#cf0c21
a dark, electric red · warm · closest name: crimson
RGB
207, 12, 33
HSL
354°, 89%, 43%
CMYK
0, 94, 84, 19
Luminance
0.1364
Every format
| HEX | #cf0c21 |
| RGB | rgb(207, 12, 33) |
| HSL | hsl(354, 89%, 43%) |
| CMYK | cmyk(0%, 94%, 84%, 19%) |
| LAB | lab(43.7 67.8 44.7) |
| LCH | lch(43.7 81.2 33.4) |
| OKLCH | oklch(0.541 0.215 25.6) |
Copy-ready code
/* CSS */
color: #cf0c21;
background-color: #cf0c21;
/* Tailwind (arbitrary) */
class="text-[#cf0c21] bg-[#cf0c21]"
/* SCSS */
$brand: #cf0c21;
/* SwiftUI */
Color(red: 0.812, green: 0.047, blue: 0.129)
/* Android */
Color.parseColor("#cf0c21")Accessibility — WCAG contrast
Aa
#cf0c21 on white: 5.63:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#cf0c21 on black: 3.73:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red81.2%
Green4.7%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta94.2%
Yellow84.1%
Key (black)18.8%
Color previews
#cf0c21 text on a black background
contrast 3.73:1
Card sample
#cf0c21 text on a white background
contrast 5.63:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cf0c21;
Background color
Panel with #cf0c21 background
background-color: #cf0c21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cf0c21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(207, 12, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 12, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cf0c21; background: linear-gradient(135deg, #cf0c21, #CF790C);