Skip to content

Firebrick

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

Firebrick#B22222

Firebrick color codes

  • CSS namefirebrick
  • HEX#B22222
  • RGBrgb(178, 34, 34)
  • HSLhsl(0, 68%, 42%)
  • OKLCHoklch(49.7% 0.18 26.8)
HSB and CMYK values
  • HSB / HSVhsb(0, 81%, 70%)
  • CMYKC0 M81 Y81 K30

White text

6.67:1 · passes WCAG AA

Black text

3.14:1 · passes WCAG AA for large text only

Shades of firebrick

A darker shade of firebrick is #6C080B (700), and a lighter one is #D84A43 (400).

Colors that go with firebrick

Complementary

Analogous

Triadic

The complementary color of firebrick is #22B2B2, close to light sea green.

Click a color to copy its hex code.

Colors similar to firebrick

Each compared with firebrick.

About this color

Firebrick in CSS and design

Firebrick is one of the extended color keywords, which mostly go back to the X11 color names of Unix systems. These four lines all give the same firebrick:

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

What to know about firebrick

Firebrick is also the name of a heat-resistant brick. CSS firebrick (#B22222) is a dark, slightly muted red that passes WCAG AA as text on white at 6.67:1, which makes it a practical red for error messages where pure red (3.99:1) falls short. Brown (#A52A2A) is almost the same color, slightly darker.

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) and in HSL hsl(0, 68%, 42%). In CMYK it is about C0 M81 Y81 K30, though printed colors vary with paper and ink.

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.

What is the complementary color of firebrick?

#22B2B2, close to light sea green. It sits opposite firebrick on the color wheel: the hue turned 180 degrees, with the same saturation and lightness.

Which colors go with firebrick?

For strong contrast, pair it with its complementary color #22B2B2. For a calmer look, combine it with its analogous neighbors #B2226A and #B26A22. The palette generator builds more combinations.