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