#B22222
firebrick
#B22222 is the CSS named color "firebrick", an exact match. In RGB it breaks down to red 178, green 34, and blue 34 out of 255 each. In HSL terms that's a hue of 0°, 68% saturation, and 42% lightness: a mid-tone — usable as an accent for buttons, links, and icons against either a light or dark background.
Every format
| HEX | #b22222 |
| RGB | rgb(178, 34, 34) |
| HSL | hsl(0° 68% 42%) |
| HSB | hsb(0° 81% 70%) |
| OKLCH | oklch(50% 0.180 27°) |
| OKLAB | oklab(50% 0.160 0.081) |
| LCH | lch(40% 68.8 35°) |
| CMYK | cmyk(0% 81% 81% 30%) |
Shades (darker)
#b22222 · #a40d15 · #960005 · #890000 · #7b0000
Tints (lighter)
#b22222 · #c43631 · #d54740 · #e7584f · #f9695e
Shades mix #B22222 toward black in even steps, useful for hover and pressed states in a UI; tints mix it toward white, useful for subtle backgrounds and disabled states that still read as the same color family.
On white: 6.68:1 — AA
On black: 3.14:1 — AA (large text only)
Frequently asked
- What is #B22222 in RGB?
- #B22222 is rgb(178, 34, 34) — red 178, green 34, blue 34 out of 255 each.
- Does #B22222 pass WCAG contrast on a white background?
- It has a contrast ratio of 6.68:1 against white, which passes WCAG AA for normal text.
- What's a good background color to pair with #B22222?
- White text or a white background gives better contrast (6.68:1) than black (3.14:1).