firebrick

#B22222 · CSS color name

firebrick is the CSS color name for #b22222: RGB(178, 34, 34), HSL(0°, 68%, 42%), CMYK(0%, 81%, 81%, 30%). Contrast is 6.68:1 on white and 3.14:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#b22222
CSS color namefirebrick
RGBrgb(178 34 34)
RGB (legacy)rgb(178, 34, 34)
RGB %rgb(70% 13% 13%)
HSLhsl(0 68% 42%)
HSV / HSBhsv(0, 81%, 70%)
HWBhwb(0 13% 30%)
CMYKcmyk(0%, 81%, 81%, 30%)
CIELAB (D50)lab(39.83 56.59 39.19)
LCHlch(39.83 68.83 34.7)
OKLaboklab(0.4968 0.1604 0.0811)
OKLCHoklch(0.4968 0.1797 26.81)
Decimal11674146

Properties

Color ToneRed, Pink
Closest named colorfirebrick ΔE 0
Closest web-safe color#993333
Hue0°
Saturation (HSL / HSV)68% / 81%
Lightness (HSL)42%
Brightness or Value (HSV)70%
Luminance (Rec.601 / Rec.709)30% / 25%
Relative luminance (WCAG)0.1072
Red / Green / Blue178 / 34 / 34

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.68:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.14:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 81.3 / -20.5 · As background with white / black text: Lc -86.4 / 22.7

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-firebrick: #b22222;
  --color-firebrick-oklch: oklch(49.68% 0.1797 26.81);
}
.text { color: var(--color-firebrick); }
.background { background-color: var(--color-firebrick); }
.border { border: 1px solid rgb(178 34 34 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b22222] text-[#b22222] border-[#b22222]">