#df2017
a balanced, electric red · warm · closest name: red
RGB
223, 32, 23
HSL
3°, 81%, 48%
CMYK
0, 86, 90, 13
Luminance
0.1678
Every format
| HEX | #df2017 |
| RGB | rgb(223, 32, 23) |
| HSL | hsl(3, 81%, 48%) |
| CMYK | cmyk(0%, 86%, 90%, 13%) |
| LAB | lab(48.0 68.7 54.1) |
| LCH | lch(48.0 87.5 38.2) |
| OKLCH | oklch(0.578 0.222 29.2) |
Copy-ready code
/* CSS */
color: #df2017;
background-color: #df2017;
/* Tailwind (arbitrary) */
class="text-[#df2017] bg-[#df2017]"
/* SCSS */
$brand: #df2017;
/* SwiftUI */
Color(red: 0.875, green: 0.125, blue: 0.090)
/* Android */
Color.parseColor("#df2017")Accessibility — WCAG contrast
Aa
#df2017 on white: 4.82:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#df2017 on black: 4.36:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.5%
Green12.5%
Blue9.0%
CMYK percentages
Cyan0.0%
Magenta85.7%
Yellow89.7%
Key (black)12.5%
Color previews
#df2017 text on a black background
contrast 4.36:1
Card sample
#df2017 text on a white background
contrast 4.82:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #df2017;
Background color
Panel with #df2017 background
background-color: #df2017;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #df2017;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(223, 32, 23, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 32, 23, 0.45);
Border & gradient
Gradient panel
border: 3px solid #df2017; background: linear-gradient(135deg, #df2017, #DFA517);