Firebrick Color
HEX #B22222 · rgb(178, 34, 34) · hsl(0, 68%, 42%)
Firebrick color codes
Firebrick is one of the named colors every browser understands. In CSS you can write it as firebrick or #B22222.
| Format | Value | |
|---|---|---|
| HEX | #B22222 | |
| RGB | rgb(178, 34, 34) | |
| HSL | hsl(0, 68%, 42%) | |
| CMYK | 0%, 81%, 81%, 30% | |
| CSS name | firebrick |
.example {
color: firebrick;
background-color: #B22222;
border-color: rgb(178, 34, 34);
}
Colors that go with firebrick
These harmonies keep the same saturation and lightness and rotate the hue around the color wheel.
Tints and shades of firebrick
Tints mix the color with white; shades mix it with black.
Firebrick
Contrast and readability
3.14:1
large text only
6.68:1
passes AA
Use white text on firebrick. Ratios follow the WCAG 2 formula; AA needs 4.5:1 for normal text and 3:1 for large text.
Frequently asked questions
What is the hex code for firebrick?
The hex code for firebrick is #B22222.
What is the RGB value of firebrick?
Firebrick is rgb(178, 34, 34): 178 red, 34 green and 34 blue on a 0 to 255 scale.
What color goes with firebrick?
Its complementary color is #22B2B2, which is closest to the named color light sea green. Analogous and triadic matches are listed on this page.
Should text on firebrick be black or white?
Use white text. The contrast ratio is 3.14:1 with black and 6.68:1 with white. WCAG AA asks for at least 4.5:1 for normal text.
Similar named colors
Pick any other color with the color picker, or browse all named colors.