CSS Named Color

Copy-ready color values

HEX#B22222
RGBrgb(178, 34, 34)
HSLhsl(0, 68%, 42%)
HSVhsv(0, 81%, 70%)
CMYK approx.cmyk(0, 81, 81, 30)

Color value table

FormatValueCopy
HEX#B22222
RGBrgb(178, 34, 34)
HSLhsl(0, 68%, 42%)
HSVhsv(0, 81%, 70%)
CMYK approx.cmyk(0, 81, 81, 30)
CSS keywordfirebrick

Contrast and classification

DarkLightness6.68:1Contrast with white3.14:1Contrast with blackMagenta / PurpleColor family

Shade and tint preview

White 10%
#BA3838

White 30%
#C96464

White 70%
#E8BDBD

White 90%
#F7E9E9

Black 10%
#A01F1F

Black 30%
#7D1818

Black 70%
#350A0A

Black 90%
#120303

Harmony palettes

Complementary

#4DDDDD
#78E5E5

Analogous

#A12233
#B22222

Triadic

#2222B2
#22B222

Split complementary

#6DE3E3
#3FB5B5

Using Firebrick

Firebrick works best when it is chosen with contrast, surrounding colors, and interface state in mind. Use the HEX value for static CSS, RGB when you need channel-level control, and HSL when adjusting lightness or saturation for hover states. The CMYK value is an approximate screen-to-print conversion, so print workflows should still rely on calibrated design software or a printer profile.

CSS, SCSS, and Tailwind examples

:root {
  --color-firebrick: #b22222;
}

.button-primary {
  background: var(--color-firebrick);
  color: #ffffff;
}

$firebrick: #b22222;

// Tailwind arbitrary value
class="bg-[#b22222] text-white"