#ff2b21
a balanced, electric red · warm · closest name: red
RGB
255, 43, 33
HSL
3°, 100%, 57%
CMYK
0, 83, 87, 0
Luminance
0.2310
Every format
| HEX | #ff2b21 |
| RGB | rgb(255, 43, 33) |
| HSL | hsl(3, 100%, 57%) |
| CMYK | cmyk(0%, 83%, 87%, 0%) |
| LAB | lab(55.2 75.2 58.1) |
| LCH | lch(55.2 95.0 37.7) |
| OKLCH | oklch(0.643 0.243 29.0) |
Copy-ready code
/* CSS */
color: #ff2b21;
background-color: #ff2b21;
/* Tailwind (arbitrary) */
class="text-[#ff2b21] bg-[#ff2b21]"
/* SCSS */
$brand: #ff2b21;
/* SwiftUI */
Color(red: 1.000, green: 0.169, blue: 0.129)
/* Android */
Color.parseColor("#ff2b21")Accessibility — WCAG contrast
Aa
#ff2b21 on white: 3.74:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#ff2b21 on black: 5.62:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green16.9%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta83.1%
Yellow87.1%
Key (black)0.0%
Color previews
#ff2b21 text on a black background
contrast 5.62:1
Card sample
#ff2b21 text on a white background
contrast 3.74:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ff2b21;
Background color
Panel with #ff2b21 background
background-color: #ff2b21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ff2b21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 43, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 43, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ff2b21; background: linear-gradient(135deg, #ff2b21, #FFBF21);