#df2821
a balanced, vivid red · warm · closest name: tomato
RGB
223, 40, 33
HSL
2°, 75%, 50%
CMYK
0, 82, 85, 13
Luminance
0.1732
Every format
| HEX | #df2821 |
| RGB | rgb(223, 40, 33) |
| HSL | hsl(2, 75%, 50%) |
| CMYK | cmyk(0%, 82%, 85%, 13%) |
| LAB | lab(48.7 67.2 50.3) |
| LCH | lch(48.7 83.9 36.8) |
| OKLCH | oklch(0.583 0.217 28.6) |
Copy-ready code
/* CSS */
color: #df2821;
background-color: #df2821;
/* Tailwind (arbitrary) */
class="text-[#df2821] bg-[#df2821]"
/* SCSS */
$brand: #df2821;
/* SwiftUI */
Color(red: 0.875, green: 0.157, blue: 0.129)
/* Android */
Color.parseColor("#df2821")Accessibility — WCAG contrast
Aa
#df2821 on white: 4.71:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#df2821 on black: 4.46:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.5%
Green15.7%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta82.1%
Yellow85.2%
Key (black)12.5%
Color previews
#df2821 text on a black background
contrast 4.46:1
Card sample
#df2821 text on a white background
contrast 4.71:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #df2821;
Background color
Panel with #df2821 background
background-color: #df2821;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #df2821;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(223, 40, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 40, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #df2821; background: linear-gradient(135deg, #df2821, #DFA721);