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