#df302c
a balanced, vivid red · warm · closest name: crimson
RGB
223, 48, 44
HSL
1°, 74%, 52%
CMYK
0, 79, 80, 13
Luminance
0.1798
Every format
| HEX | #df302c |
| RGB | rgb(223, 48, 44) |
| HSL | hsl(1, 74%, 52%) |
| CMYK | cmyk(0%, 79%, 80%, 13%) |
| LAB | lab(49.5 65.4 45.5) |
| LCH | lch(49.5 79.7 34.8) |
| OKLCH | oklch(0.590 0.211 27.5) |
Copy-ready code
/* CSS */
color: #df302c;
background-color: #df302c;
/* Tailwind (arbitrary) */
class="text-[#df302c] bg-[#df302c]"
/* SCSS */
$brand: #df302c;
/* SwiftUI */
Color(red: 0.875, green: 0.188, blue: 0.173)
/* Android */
Color.parseColor("#df302c")Accessibility — WCAG contrast
Aa
#df302c on white: 4.57:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#df302c on black: 4.60:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.5%
Green18.8%
Blue17.3%
CMYK percentages
Cyan0.0%
Magenta78.5%
Yellow80.3%
Key (black)12.5%
Color previews
#df302c text on a black background
contrast 4.60:1
Card sample
#df302c text on a white background
contrast 4.57:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #df302c;
Background color
Panel with #df302c background
background-color: #df302c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #df302c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(223, 48, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 48, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #df302c; background: linear-gradient(135deg, #df302c, #DFA72C);