#d02f49
a balanced, vivid red · warm · closest name: crimson
RGB
208, 47, 73
HSL
350°, 63%, 50%
CMYK
0, 77, 65, 18
Luminance
0.1592
Every format
| HEX | #d02f49 |
| RGB | rgb(208, 47, 73) |
| HSL | hsl(350, 63%, 50%) |
| CMYK | cmyk(0%, 77%, 65%, 18%) |
| LAB | lab(46.9 62.6 25.0) |
| LCH | lch(46.9 67.4 21.8) |
| OKLCH | oklch(0.567 0.196 17.8) |
Copy-ready code
/* CSS */
color: #d02f49;
background-color: #d02f49;
/* Tailwind (arbitrary) */
class="text-[#d02f49] bg-[#d02f49]"
/* SCSS */
$brand: #d02f49;
/* SwiftUI */
Color(red: 0.816, green: 0.184, blue: 0.286)
/* Android */
Color.parseColor("#d02f49")Accessibility — WCAG contrast
Aa
#d02f49 on white: 5.02:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#d02f49 on black: 4.18:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red81.6%
Green18.4%
Blue28.6%
CMYK percentages
Cyan0.0%
Magenta77.4%
Yellow64.9%
Key (black)18.4%
Color previews
#d02f49 text on a black background
contrast 4.18:1
Card sample
#d02f49 text on a white background
contrast 5.02:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #d02f49;
Background color
Panel with #d02f49 background
background-color: #d02f49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #d02f49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(208, 47, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(208, 47, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d02f49; background: linear-gradient(135deg, #d02f49, #D0802F);