#C62828
Material red 800
#C62828 is a red colour. In RGB it is 198 red, 40 green and 40 blue, which converts to a hue of 0 degrees, 66% saturation and 47% lightness. It is Material red 800 in that design system's palette.
Color values
| HEX | #C62828 |
|---|---|
| RGB | rgb(198, 40, 40) |
| HSL | hsl(0, 66%, 47%) |
| HSV | hsv(0, 80%, 78%) |
| CMYK | cmyk(0%, 80%, 80%, 22%) |
Contrast and accessibility
Against white the contrast ratio is 5.62:1, and against black it is 3.74: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 | 5.62:1 | AA | AAA |
| Black | 3.74:1 | Fail | AA |
Tints and shades
Lighter tints move #C62828 toward white, and darker shades move it toward black.
Tints
Shades
Color harmonies
Complementary
Analogous
Triadic
Split complementary
Code
| CSS | color: #C62828; |
|---|---|
| CSS rgb() | color: rgb(198 40 40); |
| Tailwind | bg-[#c62828] |
| SwiftUI | Color(red: 0.776, green: 0.157, blue: 0.157) |
| Android | Color.parseColor("#C62828") |
Closest named color
The nearest CSS colour keyword to #C62828 is firebrick (#B22222).