#df2020
a balanced, vivid red · warm · closest name: crimson
RGB
223, 32, 32
HSL
0°, 75%, 50%
CMYK
0, 86, 86, 13
Luminance
0.1683
Every format
| HEX | #df2020 |
| RGB | rgb(223, 32, 32) |
| HSL | hsl(0, 75%, 50%) |
| CMYK | cmyk(0%, 86%, 86%, 13%) |
| LAB | lab(48.0 68.9 50.2) |
| LCH | lch(48.0 85.3 36.1) |
| OKLCH | oklch(0.579 0.222 27.8) |
Copy-ready code
/* CSS */
color: #df2020;
background-color: #df2020;
/* Tailwind (arbitrary) */
class="text-[#df2020] bg-[#df2020]"
/* SCSS */
$brand: #df2020;
/* SwiftUI */
Color(red: 0.875, green: 0.125, blue: 0.125)
/* Android */
Color.parseColor("#df2020")Accessibility — WCAG contrast
Aa
#df2020 on white: 4.81:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#df2020 on black: 4.37:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.5%
Green12.5%
Blue12.5%
CMYK percentages
Cyan0.0%
Magenta85.7%
Yellow85.7%
Key (black)12.5%
Color previews
#df2020 text on a black background
contrast 4.37:1
Card sample
#df2020 text on a white background
contrast 4.81:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #df2020;
Background color
Panel with #df2020 background
background-color: #df2020;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #df2020;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(223, 32, 32, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 32, 32, 0.45);
Border & gradient
Gradient panel
border: 3px solid #df2020; background: linear-gradient(135deg, #df2020, #DF9F20);