#db2f39
a balanced, vivid red · warm · closest name: crimson
RGB
219, 47, 57
HSL
357°, 71%, 52%
CMYK
0, 79, 74, 14
Luminance
0.1739
Every format
| HEX | #db2f39 |
| RGB | rgb(219, 47, 57) |
| HSL | hsl(357, 71%, 52%) |
| CMYK | cmyk(0%, 79%, 74%, 14%) |
| LAB | lab(48.8 65.0 37.3) |
| LCH | lch(48.8 74.9 29.8) |
| OKLCH | oklch(0.583 0.207 23.9) |
Copy-ready code
/* CSS */
color: #db2f39;
background-color: #db2f39;
/* Tailwind (arbitrary) */
class="text-[#db2f39] bg-[#db2f39]"
/* SCSS */
$brand: #db2f39;
/* SwiftUI */
Color(red: 0.859, green: 0.184, blue: 0.224)
/* Android */
Color.parseColor("#db2f39")Accessibility — WCAG contrast
Aa
#db2f39 on white: 4.69:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#db2f39 on black: 4.48:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red85.9%
Green18.4%
Blue22.4%
CMYK percentages
Cyan0.0%
Magenta78.5%
Yellow74.0%
Key (black)14.1%
Color previews
#db2f39 text on a black background
contrast 4.48:1
Card sample
#db2f39 text on a white background
contrast 4.69:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #db2f39;
Background color
Panel with #db2f39 background
background-color: #db2f39;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #db2f39;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(219, 47, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(219, 47, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #db2f39; background: linear-gradient(135deg, #db2f39, #DB982F);