Skip to content

Firebrick

Firebrick is a medium, rich color from the red family. Hex code #B22222.

Firebrick#B22222

Color codes

  • CSS namefirebrick
  • HEX#B22222
  • RGBrgb(178 34 34)
  • HSLhsl(0 68% 42%)
  • HSB / HSVhsb(0, 81%, 70%)
  • OKLCHoklch(49.7% 0.18 26.8)
  • CMYKcmyk(0%, 81%, 81%, 30%)

White text

6.67:1 · passes WCAG AA

Black text

3.14:1 · passes WCAG AA for large text only

Shades

50#FFEDEB
100#FBC6BF
200#FB9A8F
300#F8675D
400#D84A43
500#B92A28
600#941316
700#6C080B
800#450405

Complementary

#B22222
#1A6F78

Analogous

#B22222
#AA2164
#934D06

Triadic

#B22222
#077729
#3456C7

About this color

Firebrick in CSS and design

Firebrick is a medium, rich color from the red family. Firebrick is one of the extended color keywords, which CSS adopted from the X11 color names used on Unix workstations.

Use it in CSS by name or by any of its codes; these all give the same color:

color: firebrick;
color: #B22222;
color: rgb(178 34 34);
color: hsl(0 68% 42%);

For text on firebrick, white reads best. Check other combinations with the contrast checker, or browse all CSS color names.

Frequently asked questions

What is the hex code for firebrick?

#B22222. In CSS you can also use the keyword firebrick, which works in every browser.

What is firebrick in RGB and HSL?

In RGB it is rgb(178 34 34), in HSL hsl(0 68% 42%). For print, cmyk(0%, 81%, 81%, 30%) is a starting point, but CMYK depends on paper and ink, so check with your printer.

Should I use black or white text on firebrick?

White text works better: it has a contrast ratio of 6.67:1 and passes WCAG AA. Black text reaches 3.14:1.

Which colors go with firebrick?

Its complementary color is #1A6F78, on the opposite side of the color wheel. For a calmer look, combine it with its analogous neighbors #AA2164 and #934D06. The palette generator builds more combinations.