#ba2621
a dark, vivid red · warm · closest name: firebrick
RGB
186, 38, 33
HSL
2°, 70%, 43%
CMYK
0, 80, 82, 27
Luminance
0.1194
Every format
| HEX | #ba2621 |
| RGB | rgb(186, 38, 33) |
| HSL | hsl(2, 70%, 43%) |
| CMYK | cmyk(0%, 80%, 82%, 27%) |
| LAB | lab(41.1 57.1 40.7) |
| LCH | lch(41.1 70.1 35.5) |
| OKLCH | oklch(0.514 0.185 28.0) |
Copy-ready code
/* CSS */
color: #ba2621;
background-color: #ba2621;
/* Tailwind (arbitrary) */
class="text-[#ba2621] bg-[#ba2621]"
/* SCSS */
$brand: #ba2621;
/* SwiftUI */
Color(red: 0.729, green: 0.149, blue: 0.129)
/* Android */
Color.parseColor("#ba2621")Accessibility — WCAG contrast
Aa
#ba2621 on white: 6.20:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#ba2621 on black: 3.39:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green14.9%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta79.6%
Yellow82.3%
Key (black)27.1%
Color previews
#ba2621 text on a black background
contrast 3.39:1
Card sample
#ba2621 text on a white background
contrast 6.20:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ba2621;
Background color
Panel with #ba2621 background
background-color: #ba2621;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ba2621;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 38, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 38, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ba2621; background: linear-gradient(135deg, #ba2621, #BA8C21);