Firebrick
Hex #B22222, rgb(178 34 34). A red CSS named color.
Open in palette generatorFirebrick color codes
Click any value to copy it.
- HEX
- RGB
- HSL
- HSV
- HWB
- CMYK
- OKLCH
- OKLab
- Lab
- LCH
- CSS keyword
About Firebrick
Firebrick is a dark saturated red with the hex code #B22222. In RGB it is made of 178 red, 34 green and 34 blue; in HSL its hue is 0°, with 68% saturation and 42% lightness. Its perceptual lightness (OKLCH L) is 49.7%.
It is a CSS named color, so you can write "firebrick" anywhere CSS accepts a color. Against white it has a contrast ratio of 6.68:1 and against black 3.14:1, so white text reads better on it and passes WCAG AA for normal text.
Tints, shades and tones
Firebrick mixed step by step with white, black and middle gray (#808080).
Tints (with white)
Shades (with black)
Tones (with gray)
Firebrick 50-950 scale
A Tailwind-style scale built in OKLCH; the original color sits on the step with the closest lightness.
Colors that go with Firebrick
Color harmonies rotate the hue in OKLCH and keep the lightness and chroma. Each color links to its closest named color.
Triadic
Monochromatic
Contrast and readability
WCAG 2 contrast of Firebrick with white and black. The readable text color on Firebrick is white.
On white6.68:1
- AA pass
- AA Large pass
- AAA fail
- UI 3:1 pass
APCA Lc 81
On black3.14:1
- AA fail
- AA Large pass
- AAA fail
- UI 3:1 pass
APCA Lc -21
Test any pair in the contrast checker.
Color blindness preview
How Firebrick appears with each type of color vision deficiency (simulated with the Machado model).
- Protanopia#514820
- Deuteranopia#74671B
- Tritanopia#C40024
- Protanomaly#76451E
- Deuteranomaly#845B1B
- Tritanomaly#BA0723
- Achromatopsia#5C5C5C
Colors similar to Firebrick
The closest named colors by perceptual difference (OKLab).
Use Firebrick in CSS and Tailwind
.firebrick {
color: firebrick; /* #B22222 */
background-color: rgb(178 34 34);
border-color: oklch(49.7% 0.18 26.8);
}/* Tailwind CSS v4: bg-firebrick-500, text-firebrick-700... */
@theme {
--color-firebrick-50: #FFF8F7;
--color-firebrick-100: #FFE8E5;
--color-firebrick-200: #FFCFC9;
--color-firebrick-300: #FFA89E;
--color-firebrick-400: #FC6B60;
--color-firebrick-500: #F0423D;
--color-firebrick-600: #D62D2C;
--color-firebrick-700: #B22222;
--color-firebrick-800: #8D1D1C;
--color-firebrick-900: #721917;
--color-firebrick-950: #320001;
}
<!-- or the exact color, no config -->
<div class="bg-[#B22222] text-[#FFFFFF]">…</div>