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