#df4240
a balanced, vivid red · warm · closest name: crimson
RGB
223, 66, 64
HSL
1°, 71%, 56%
CMYK
0, 70, 71, 13
Luminance
0.1995
Every format
| HEX | #df4240 |
| RGB | rgb(223, 66, 64) |
| HSL | hsl(1, 71%, 56%) |
| CMYK | cmyk(0%, 70%, 71%, 13%) |
| LAB | lab(51.8 60.3 37.0) |
| LCH | lch(51.8 70.7 31.5) |
| OKLCH | oklch(0.608 0.194 25.7) |
Copy-ready code
/* CSS */
color: #df4240;
background-color: #df4240;
/* Tailwind (arbitrary) */
class="text-[#df4240] bg-[#df4240]"
/* SCSS */
$brand: #df4240;
/* SwiftUI */
Color(red: 0.875, green: 0.259, blue: 0.251)
/* Android */
Color.parseColor("#df4240")Accessibility — WCAG contrast
Aa
#df4240 on white: 4.21:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#df4240 on black: 4.99:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.5%
Green25.9%
Blue25.1%
CMYK percentages
Cyan0.0%
Magenta70.4%
Yellow71.3%
Key (black)12.5%
Color previews
#df4240 text on a black background
contrast 4.99:1
Card sample
#df4240 text on a white background
contrast 4.21:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #df4240;
Background color
Panel with #df4240 background
background-color: #df4240;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #df4240;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(223, 66, 64, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 66, 64, 0.45);
Border & gradient
Gradient panel
border: 3px solid #df4240; background: linear-gradient(135deg, #df4240, #DFAC40);