Firebrick — #B22222
#B22222 is a medium, vivid red. It is the CSS named color firebrick.
Color values
| HEX | #B22222 |
| RGB | rgb(178, 34, 34) |
| HSL | hsl(0, 68%, 42%) |
| CMYK | cmyk(0%, 81%, 81%, 30%) |
| Decimal | 11674146 |
| CSS | color: #B22222; |
| Android | 0xFFB22222 |
| Swift | UIColor(red: 0.698, green: 0.133, blue: 0.133, alpha: 1) |
Accessibility and contrast
| White text on #B22222 | 6.68:1 — AA pass · AA large pass · AAA fail |
| Black text on #B22222 | 3.14:1 — AA fail · AA large pass · AAA fail |
| Recommended text color | white |
WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).
Tints and shades of #B22222
Each swatch keeps the hue and saturation of #B22222 and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #B22222
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #B22222 in code
/* CSS */
.element { color: #B22222; background-color: #B22222; }
.element { color: rgb(178 34 34); }
.element { color: hsl(0 68% 42%); }
/* Tailwind arbitrary value */
<div class="bg-[#B22222] text-white">
/* SCSS variable */
$brand: #B22222;
Frequently asked questions
What color is #B22222?
#B22222 is a medium, vivid red, which CSS calls firebrick. Its hue sits at 0° on the color wheel, with 68% saturation and 42% lightness.
What is #B22222 in RGB?
#B22222 converts to rgb(178, 34, 34) — 178 red, 34 green and 34 blue.
What is #B22222 in CMYK?
Approximately cmyk(0%, 81%, 81%, 30%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.
Should text on #B22222 be white or black?
White gives the better contrast ratio (6.68:1 versus 3.14:1).
What is the complementary color of #B22222?
#22B4B4 — the hue directly opposite #B22222 on the color wheel.