#cc2c49
a balanced, vivid red · warm · closest name: crimson
RGB
204, 44, 73
HSL
349°, 65%, 49%
CMYK
0, 78, 64, 20
Luminance
0.1512
Every format
| HEX | #cc2c49 |
| RGB | rgb(204, 44, 73) |
| HSL | hsl(349, 65%, 49%) |
| CMYK | cmyk(0%, 78%, 64%, 20%) |
| LAB | lab(45.8 62.3 23.5) |
| LCH | lch(45.8 66.6 20.7) |
| OKLCH | oklch(0.557 0.194 16.9) |
Copy-ready code
/* CSS */
color: #cc2c49;
background-color: #cc2c49;
/* Tailwind (arbitrary) */
class="text-[#cc2c49] bg-[#cc2c49]"
/* SCSS */
$brand: #cc2c49;
/* SwiftUI */
Color(red: 0.800, green: 0.173, blue: 0.286)
/* Android */
Color.parseColor("#cc2c49")Accessibility — WCAG contrast
Aa
#cc2c49 on white: 5.22:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#cc2c49 on black: 4.02:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green17.3%
Blue28.6%
CMYK percentages
Cyan0.0%
Magenta78.4%
Yellow64.2%
Key (black)20.0%
Color previews
#cc2c49 text on a black background
contrast 4.02:1
Card sample
#cc2c49 text on a white background
contrast 5.22:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cc2c49;
Background color
Panel with #cc2c49 background
background-color: #cc2c49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cc2c49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 44, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 44, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cc2c49; background: linear-gradient(135deg, #cc2c49, #CC7A2C);