Firebrick #B22222
Firebrick is one of the named colours in CSS, written firebrick. White text reaches 6.68:1 on it, enough for body text.
Try on walls Preview on a website
Colour codes
| CSS keyword | firebrick |
|---|---|
| HEX | #B22222 |
| RGB | rgb(178 34 34) |
| HSL | hsl(0 68% 42%) |
| OKLCH | oklch(49.7% 0.180 26.8) |
| White text | 6.68:1 · body text AA Pass |
| Black text | 3.14:1 · body text AA Fail |
Colours that go with Firebrick
The closest colour in Sanzo Wada's A Dictionary of Color Combinations is Pompeian Red (#AB2439), close. These are the colours Wada paired it with, ranked by their contrast with Firebrick itself.
| Colour | HEX | Contrast with Firebrick | Body text AA |
|---|---|---|---|
| Cream Yellow | #FDBF68 | 4.08:1 | Fail |
| Light Green Yellow | #C7D14F | 4.03:1 | Fail |
| Dark Greenish Glaucous | #B7C2A9 | 3.59:1 | Fail |
| Cameo Pink | #E0B3B6 | 3.59:1 | Fail |
| Neutral Gray | #B6BFC1 | 3.56:1 | Fail |
| Ochraceous Salmon | #D8A37B | 3.00:1 | Fail |
| Mineral Gray | #A2B0AD | 2.97:1 | Fail |
| Salvia Blue | #97ACC8 | 2.88:1 | Fail |
| Olympic Blue | #5A82B3 | 1.68:1 | Fail |
| Aconite Violet | #A36AA5 | 1.64:1 | Fail |
| Orange Citrine | #986F2D | 1.48:1 | Fail |
Palettes with Pompeian Red
- Combination #30 Pompeian Red · Mineral Gray
- Combination #71 Pompeian Red · Ochraceous Salmon
- Combination #120 Cameo Pink · Pompeian Red
- Combination #212 Pompeian Red · Orange Citrine · Salvia Blue
- Combination #311 Pompeian Red · Cream Yellow · Dark Greenish Glaucous · Light Green Yellow
- Combination #324 Pompeian Red · Olympic Blue · Aconite Violet · Neutral Gray
Shades and tints of Firebrick
Nine lightness steps in OKLCH that keep the hue of Firebrick. Chroma is reduced only where sRGB cannot show it.
- 100#FFF2F0
- 200#FFDBD6
- 300#FFBAB1
- 400#FF8B7F
- 500#EC5C53
- 600#C53732
- 700#A20712
- 800#730008
- 900#470003
:root {
--firebrick-100: #FFF2F0;
--firebrick-200: #FFDBD6;
--firebrick-300: #FFBAB1;
--firebrick-400: #FF8B7F;
--firebrick-500: #EC5C53;
--firebrick-600: #C53732;
--firebrick-700: #A20712;
--firebrick-800: #730008;
--firebrick-900: #470003;
}
Text that keeps Firebrick on screen
Text #B22222 on #FFF2F0 reaches 6.11:1, which passes WCAG AA for body text. Check it on a dashboard