#df3040
a balanced, vivid red · warm · closest name: crimson
RGB
223, 48, 64
HSL
355°, 73%, 53%
CMYK
0, 79, 71, 13
Luminance
0.1817
Every format
| HEX | #df3040 |
| RGB | rgb(223, 48, 64) |
| HSL | hsl(355, 73%, 53%) |
| CMYK | cmyk(0%, 79%, 71%, 13%) |
| LAB | lab(49.7 66.1 34.5) |
| LCH | lch(49.7 74.6 27.6) |
| OKLCH | oklch(0.592 0.209 22.2) |
Copy-ready code
/* CSS */
color: #df3040;
background-color: #df3040;
/* Tailwind (arbitrary) */
class="text-[#df3040] bg-[#df3040]"
/* SCSS */
$brand: #df3040;
/* SwiftUI */
Color(red: 0.875, green: 0.188, blue: 0.251)
/* Android */
Color.parseColor("#df3040")Accessibility — WCAG contrast
Aa
#df3040 on white: 4.53:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#df3040 on black: 4.63:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.5%
Green18.8%
Blue25.1%
CMYK percentages
Cyan0.0%
Magenta78.5%
Yellow71.3%
Key (black)12.5%
Color previews
#df3040 text on a black background
contrast 4.63:1
Card sample
#df3040 text on a white background
contrast 4.53:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #df3040;
Background color
Panel with #df3040 background
background-color: #df3040;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #df3040;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(223, 48, 64, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 48, 64, 0.45);
Border & gradient
Gradient panel
border: 3px solid #df3040; background: linear-gradient(135deg, #df3040, #DF9530);