#7F1D1D
Tailwind red-900
#7F1D1D is a red colour. In RGB it is 127 red, 29 green and 29 blue, which converts to a hue of 0 degrees, 63% saturation and 31% lightness. It is Tailwind red-900 in that design system's palette.
Color values
| HEX | #7F1D1D |
|---|---|
| RGB | rgb(127, 29, 29) |
| HSL | hsl(0, 63%, 31%) |
| HSV | hsv(0, 77%, 50%) |
| CMYK | cmyk(0%, 77%, 77%, 50%) |
Contrast and accessibility
Against white the contrast ratio is 10.02:1, and against black it is 2.1: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 | 10.02:1 | AAA | AAA |
| Black | 2.1:1 | Fail | Fail |
Tints and shades
Lighter tints move #7F1D1D toward white, and darker shades move it toward black.
Tints
Shades
Color harmonies
Complementary
Analogous
Triadic
Split complementary
Code
| CSS | color: #7F1D1D; |
|---|---|
| CSS rgb() | color: rgb(127 29 29); |
| Tailwind | bg-[#7f1d1d] |
| SwiftUI | Color(red: 0.498, green: 0.114, blue: 0.114) |
| Android | Color.parseColor("#7F1D1D") |
Closest named color
The nearest CSS colour keyword to #7F1D1D is brown (#A52A2A).