#B71C1C
Material red 900
#B71C1C is a red colour. In RGB it is 183 red, 28 green and 28 blue, which converts to a hue of 0 degrees, 73% saturation and 41% lightness. It is Material red 900 in that design system's palette.
Color values
| HEX | #B71C1C |
|---|---|
| RGB | rgb(183, 28, 28) |
| HSL | hsl(0, 73%, 41%) |
| HSV | hsv(0, 85%, 72%) |
| CMYK | cmyk(0%, 85%, 85%, 28%) |
Contrast and accessibility
Against white the contrast ratio is 6.57:1, and against black it is 3.2:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.
| Background | Ratio | Normal text | Large text |
|---|---|---|---|
| White | 6.57:1 | AA | AAA |
| Black | 3.2:1 | Fail | AA |
Tints and shades
Lighter tints move #B71C1C toward white, and darker shades move it toward black.
Tints
Shades
Color harmonies
Complementary
Analogous
Triadic
Split complementary
Code
| CSS | color: #B71C1C; |
|---|---|
| CSS rgb() | color: rgb(183 28 28); |
| Tailwind | bg-[#b71c1c] |
| SwiftUI | Color(red: 0.718, green: 0.110, blue: 0.110) |
| Android | Color.parseColor("#B71C1C") |
Closest named color
The nearest CSS colour keyword to #B71C1C is firebrick (#B22222).