#B22222

firebrick

#B22222 is a red colour. In RGB it is 178 red, 34 green and 34 blue, which converts to a hue of 0 degrees, 68% saturation and 42% lightness. It is one of the named CSS colours, written as firebrick in stylesheets.

Color values

HEX#B22222
RGBrgb(178, 34, 34)
HSLhsl(0, 68%, 42%)
HSVhsv(0, 81%, 70%)
CMYKcmyk(0%, 81%, 81%, 30%)

Contrast and accessibility

Against white the contrast ratio is 6.68:1, and against black it is 3.14:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.

BackgroundRatioNormal textLarge text
White6.68:1AAAAA
Black3.14:1FailAA

Tints and shades

Lighter tints move #B22222 toward white, and darker shades move it toward black.

Tints

Shades

Color harmonies

Complementary

Analogous

Triadic

Split complementary

Code

CSScolor: #B22222;
CSS rgb()color: rgb(178 34 34);
Tailwindbg-[#b22222]
SwiftUIColor(red: 0.698, green: 0.133, blue: 0.133)
AndroidColor.parseColor("#B22222")

Related tools