About Fire Brick
Fire Brick (firebrick) is a medium, vivid red with the hex code #b22222, or rgb(178, 34, 34). In HSL it sits at a hue of 0°, 68% saturation and 42% lightness. It is one of the 148 named colors every browser understands, so you can write color: firebrick; instead of the hex value.
Using Fire Brick for text and backgrounds
| Pairing | Contrast ratio | WCAG |
|---|---|---|
| Fire Brick text on white | 6.68 : 1 | AA |
| Fire Brick text on black | 3.14 : 1 | AA large text only |
On a fire brick background, use white text (6.68 : 1). WCAG asks for at least 4.5 : 1 for body text and 3 : 1 for large text. Check other pairs with the Contrast Checker.
CSS
.element {
color: firebrick; /* or #b22222 */
background-color: #b22222;
border: 1px solid rgb(178 34 34 / 50%);
}
Similar named colors
Brown (#a52a2a), Crimson (#dc143c), Sienna (#a0522d), Saddle Brown (#8b4513), Dark Red (#8b0000), Maroon (#800000).