CSS named color

FireBrick #B22222

firebrick rgb(178, 34, 34)

FireBrick is a red with the hex code #B22222, which converts to rgb(178, 34, 34). Open #B22222 in the converter to tweak it.

FireBrick color values

HEX#B22222
HEX (shorthand)—
RGBrgb(178, 34, 34)
RGBArgba(178, 34, 34, 1)
8-digit HEX#B22222FF
HSLhsl(0, 68%, 42%)
HSV / HSB0°, 81%, 70%
CMYK0%, 81%, 81%, 30%
RGB 0–10.698, 0.133, 0.133
Decimal11674146
CSS keywordfirebrick

How #B22222 converts to RGB

Split the hex code into three pairs and read each pair as a base-16 number: B2 → 178, 22 → 34, 22 → 34. That gives rgb(178, 34, 34). The step-by-step guide explains the math.

Shades of FireBrick

Mixed toward black in 10% steps. Click a swatch to copy its hex.

Tints of FireBrick

Mixed toward white in 10% steps.

Color harmonies

Hue rotations of FireBrick on the HSL color wheel, keeping saturation and lightness fixed. The color harmony guide explains when each scheme works.

Complementary

Analogous

Split-complementary

Triadic

Tetradic (square)

Contrast and accessibility

TextBackgroundRatioWCAG 2.x
White FireBrick 6.67:1AA
Black FireBrick 3.14:1AA Large only

Use white text on a firebrick background. Test any other pair in the contrast checker; thresholds are explained in the WCAG contrast guide.

Use FireBrick in CSS

.element {
  color: firebrick;                         /* keyword */
  background-color: #B22222;            /* hex */
  border-color: rgb(178 34 34 / 50%);    /* 50% transparent */
}

Need it semi-transparent? Append an alpha byte: #B2222280 is FireBrick at 50% opacity. See RGBA & transparency.

Similar named colors

FAQ

What is the HEX code for FireBrick?

The CSS named color firebrick is #B22222 in hexadecimal. In CSS you can write color: firebrick; or color: #B22222; — both produce the same pixel.

What is FireBrick in RGB?

FireBrick is rgb(178, 34, 34): red 178, green 34, blue 34 on the 0–255 scale. As normalized 0–1 floats that is (0.698, 0.133, 0.133).

Is white or black text more readable on FireBrick?

White text is more readable. White on #B22222 has a contrast ratio of 6.67:1 (AA), black on #B22222 has 3.14:1 (AA Large only). WCAG AA needs 4.5:1 for normal text.

Copied!