#ee2f21
a balanced, electric red · warm · closest name: red
RGB
238, 47, 33
HSL
4°, 86%, 53%
CMYK
0, 80, 86, 7
Luminance
0.2032
Every format
| HEX | #ee2f21 |
| RGB | rgb(238, 47, 33) |
| HSL | hsl(4, 86%, 53%) |
| CMYK | cmyk(0%, 80%, 86%, 7%) |
| LAB | lab(52.2 69.6 54.4) |
| LCH | lch(52.2 88.3 38.0) |
| OKLCH | oklch(0.615 0.226 29.5) |
Copy-ready code
/* CSS */
color: #ee2f21;
background-color: #ee2f21;
/* Tailwind (arbitrary) */
class="text-[#ee2f21] bg-[#ee2f21]"
/* SCSS */
$brand: #ee2f21;
/* SwiftUI */
Color(red: 0.933, green: 0.184, blue: 0.129)
/* Android */
Color.parseColor("#ee2f21")Accessibility — WCAG contrast
Aa
#ee2f21 on white: 4.15:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#ee2f21 on black: 5.06:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red93.3%
Green18.4%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta80.3%
Yellow86.1%
Key (black)6.7%
Color previews
#ee2f21 text on a black background
contrast 5.06:1
Card sample
#ee2f21 text on a white background
contrast 4.15:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ee2f21;
Background color
Panel with #ee2f21 background
background-color: #ee2f21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ee2f21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(238, 47, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(238, 47, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ee2f21; background: linear-gradient(135deg, #ee2f21, #EEB821);