#df3940
a balanced, vivid red · warm · closest name: crimson
RGB
223, 57, 64
HSL
358°, 72%, 55%
CMYK
0, 74, 71, 13
Luminance
0.1898
Every format
| HEX | #df3940 |
| RGB | rgb(223, 57, 64) |
| HSL | hsl(358, 72%, 55%) |
| CMYK | cmyk(0%, 74%, 71%, 13%) |
| LAB | lab(50.7 63.4 35.7) |
| LCH | lch(50.7 72.7 29.4) |
| OKLCH | oklch(0.599 0.202 23.8) |
Copy-ready code
/* CSS */
color: #df3940;
background-color: #df3940;
/* Tailwind (arbitrary) */
class="text-[#df3940] bg-[#df3940]"
/* SCSS */
$brand: #df3940;
/* SwiftUI */
Color(red: 0.875, green: 0.224, blue: 0.251)
/* Android */
Color.parseColor("#df3940")Accessibility — WCAG contrast
Aa
#df3940 on white: 4.38:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#df3940 on black: 4.80:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.5%
Green22.4%
Blue25.1%
CMYK percentages
Cyan0.0%
Magenta74.4%
Yellow71.3%
Key (black)12.5%
Color previews
#df3940 text on a black background
contrast 4.80:1
Card sample
#df3940 text on a white background
contrast 4.38:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #df3940;
Background color
Panel with #df3940 background
background-color: #df3940;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #df3940;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(223, 57, 64, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 57, 64, 0.45);
Border & gradient
Gradient panel
border: 3px solid #df3940; background: linear-gradient(135deg, #df3940, #DFA139);