Firebrick
Firebrick is a medium, rich color from the red family. Hex code #B22222.
Firebrick color codes
- CSS name
firebrick - HEX
#B22222 - RGB
rgb(178, 34, 34) - HSL
hsl(0, 68%, 42%) - OKLCH
oklch(49.7% 0.18 26.8)
HSB and CMYK values
- HSB / HSV
hsb(0, 81%, 70%) - CMYK
C0 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
- Brown#A52A2A
Slightly darker
- Sienna#A0522D
Slightly lighter, more orange, more muted
- Crimson#DC143C
Lighter, more pink, more vivid
- Saddle brown#8B4513
Slightly darker, more orange, more muted
- Dark red#8B0000
Darker
- Maroon#800000
Darker
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.