#cb2021
a balanced, vivid red · warm · closest name: firebrick
RGB
203, 32, 33
HSL
360°, 73%, 46%
CMYK
0, 84, 84, 20
Luminance
0.1384
Every format
| HEX | #cb2021 |
| RGB | rgb(203, 32, 33) |
| HSL | hsl(360, 73%, 46%) |
| CMYK | cmyk(0%, 84%, 84%, 20%) |
| LAB | lab(44.0 63.5 44.6) |
| LCH | lch(44.0 77.6 35.1) |
| OKLCH | oklch(0.542 0.204 27.3) |
Copy-ready code
/* CSS */
color: #cb2021;
background-color: #cb2021;
/* Tailwind (arbitrary) */
class="text-[#cb2021] bg-[#cb2021]"
/* SCSS */
$brand: #cb2021;
/* SwiftUI */
Color(red: 0.796, green: 0.125, blue: 0.129)
/* Android */
Color.parseColor("#cb2021")Accessibility — WCAG contrast
Aa
#cb2021 on white: 5.57:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#cb2021 on black: 3.77:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red79.6%
Green12.5%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta84.2%
Yellow83.7%
Key (black)20.4%
Color previews
#cb2021 text on a black background
contrast 3.77:1
Card sample
#cb2021 text on a white background
contrast 5.57:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cb2021;
Background color
Panel with #cb2021 background
background-color: #cb2021;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cb2021;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(203, 32, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 32, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cb2021; background: linear-gradient(135deg, #cb2021, #CB9120);