#B22222 color (firebrick)

#B22222 is rgb(178, 34, 34) in RGB and hsl(0, 68%, 42%) in HSL. It is exactly the CSS color firebrick. Use white text on it (contrast 6.68:1).

#B22222firebrick
HEX#B22222
RGBrgb(178, 34, 34)
RGB percentrgb(69.8%, 13.3%, 13.3%)
HSLhsl(0, 68%, 42%)
HSV / HSBhsv(0, 81%, 70%)
CMYKcmyk(0%, 81%, 81%, 30%)
CIELAB (D65)lab(39.1 55.9 37.6)

Edit in the color converter → · Check contrast → · Shades →

About #B22222

#B22222 is a medium-dark, saturated red with a hue angle of 0°. It belongs to the red family and reads as a warm color. In the RGB model red is the strongest channel at 178 (70%) and green the weakest at 34 (13%). Colors like this are typically used for headers, navigation bars and strong brand areas.

Color conversions

HEX#B22222
RGBrgb(178, 34, 34)
RGB percentrgb(69.8%, 13.3%, 13.3%)
HSLhsl(0, 68%, 42%)
HSV / HSBhsv(0, 81%, 70%)
CMYKcmyk(0%, 81%, 81%, 30%)
CIELAB (D65)lab(39.1 55.9 37.6)
Decimal11674146
Binary10110010 00100010 00100010

HEX B2 22 22 → 178, 34, 34 (each pair is a base-16 number: B×16 + 2 = 178)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #B22222

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #B22222RatioAA normalAA largeAAA normalAAA large
White text6.68:1PassPassFailPass
Black text3.14:1FailPassFailFail
White text on #B22222
Black text on #B22222
#B22222 text on white
#B22222 text on black

Relative luminance is 0.1072 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#514820

Deuteranopia
#74671b

Tritanopia
#c40024

Achromatopsia
#5c5c5c

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 37.4). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
firebrick#b222220
brown#a52a2a3.1
darkred#8b00009.5
crimson#dc143c9.6

CSS

.element {
  color: #b22222;
  background-color: rgb(178, 34, 34);
  border: 1px solid hsl(0, 68%, 42%);
  box-shadow: 0 2px 8px rgb(178 34 34 / 50%);
}
:root { --brand: #b22222; }

Frequently asked questions

What color is #B22222?
A medium-dark saturated red in the red family. Closest CSS name: firebrick.
What is #B22222 in RGB?
rgb(178, 34, 34): red 178, green 34, blue 34.
What is the complementary color of #B22222?
#22B2B2, found by rotating the hue 180°.