#b92f21
a dark, vivid red · warm · closest name: firebrick
RGB
185, 47, 33
HSL
6°, 70%, 43%
CMYK
0, 75, 82, 28
Luminance
0.1246
Every format
| HEX | #b92f21 |
| RGB | rgb(185, 47, 33) |
| HSL | hsl(6, 70%, 43%) |
| CMYK | cmyk(0%, 75%, 82%, 28%) |
| LAB | lab(41.9 54.0 41.4) |
| LCH | lch(41.9 68.0 37.5) |
| OKLCH | oklch(0.520 0.177 29.9) |
Copy-ready code
/* CSS */
color: #b92f21;
background-color: #b92f21;
/* Tailwind (arbitrary) */
class="text-[#b92f21] bg-[#b92f21]"
/* SCSS */
$brand: #b92f21;
/* SwiftUI */
Color(red: 0.725, green: 0.184, blue: 0.129)
/* Android */
Color.parseColor("#b92f21")Accessibility — WCAG contrast
Aa
#b92f21 on white: 6.01:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#b92f21 on black: 3.49:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.5%
Green18.4%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta74.6%
Yellow82.2%
Key (black)27.5%
Color previews
#b92f21 text on a black background
contrast 3.49:1
Card sample
#b92f21 text on a white background
contrast 6.01:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b92f21;
Background color
Panel with #b92f21 background
background-color: #b92f21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b92f21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(185, 47, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(185, 47, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b92f21; background: linear-gradient(135deg, #b92f21, #B99421);