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