Firebrick color: hex #b22222, RGB and HSL
Firebrick is the CSS keyword firebrick, hex #b22222, rgb(178, 34, 34), hsl(0, 68%, 42%). It is a dark, vivid red in the reds family. Below: the colors that go with it, its tints and shades, how it reads as text, and a complete interface palette built from it.
- CSS name
- firebrick
- Hex
- #b22222
- RGB
- rgb(178, 34, 34)
- HSL
- hsl(0, 68%, 42%)
- On white
- 6.68:1 — passes AA for body text
- On black
- 3.14:1 — large text and UI only (3:1)
.example {
color: firebrick; /* keyword */
color: #b22222; /* hex */
color: rgb(178, 34, 34); /* rgb */
color: hsl(0, 68%, 42%); /* hsl */
}What colors go with firebrick
Each match keeps firebrick's saturation and lightness and rotates only the hue, so the relationship is the wheel's and nothing else. Any of these can be an accent beside firebrick as the primary; the harmony guides explain which rule suits which interface.
Complementary
The opposite hue, 180° away — the strongest contrast, best kept to one accent per screen.
Split-complementary
The two neighbors of the complement, at 150° and 210° — most of the contrast with less tension, and two accents instead of one.
Triadic
Two hues at 120° and 240° — three evenly spaced signals, the scheme charts and category colors want.
Analogous
The neighbors at −30° and +30° — calm and cohesive, with emphasis coming from weight and size rather than hue.
Tints and shades of firebrick
Tints add lightness toward white; shades remove it toward black. The hue and saturation stay fixed, so every step still reads as firebrick — these are the hover, pressed, disabled and surface variants a single brand color needs.
Tints (lighter)
Shades (darker)
A UI color palette built from firebrick
The eight semantic roles an interface actually uses, derived from firebrick as the primary with the split-complementary rule: secondary and accent rotate around the wheel, and the five neutrals take the hue at lightness steps tuned for light and dark mode. This is the same derivation the palette generator runs — open it there to change the rule, drag the anchors, or export the set as CSS variables.
- primary
- #b22222
- secondary
- #22b26a
- accent
- #226ab2
- background
- #fdfcfc
- surface
- #f7f3f3
- text
- #221111
- muted
- #8f5656
- border
- #ecdfdf
- primary
- #da3e3e
- secondary
- #3eda8c
- accent
- #3e8cda
- background
- #1b0e0e
- surface
- #281515
- text
- #f6f3f3
- muted
- #b89494
- border
- #492727
Using firebrick in an interface
Red is spoken for: it means error, danger and destructive actions in almost every interface, so a red brand color needs its status colors chosen with care. Crimson and firebrick read as serious; the salmons and corals are gentle enough for surfaces and tags. Whichever role firebrick takes, define it once as a token rather than repeating the keyword: the semantic palette guide covers the eight roles, and the guides to complementary, triadic and the other color schemes explain how to weight the matches above.
- What is the hex code for Firebrick?
- Firebrick is #b22222. In CSS the keyword firebrick, the hex #b22222, rgb(178, 34, 34) and hsl(0, 68%, 42%) all paint the same color.
- What colors go with Firebrick?
- Its complement is #22b2b2, the split-complementary pair is #22b26a and #226ab2, the triadic partners are #22b222 and #2222b2, and the analogous neighbors are #b2226a and #b26a22. In an interface, use Firebrick for most colored elements and one of these for a single accent, at roughly an 80/20 split.
- What is the opposite of Firebrick on the color wheel?
- The opposite (complementary) color is #22b2b2, the same saturation and lightness rotated 180° around the HSL wheel. Complementary pairs give the strongest contrast, which is why the complement should be used sparingly rather than at equal weight.
- Can I use Firebrick for text?
- Firebrick as text on white has a contrast ratio of 6.68:1, which passes WCAG AA for body text (4.5:1). On black it is 3.14:1, which fails for body text. It works as a text color on light surfaces.