#9D1F31#9D1F31
#9D1F31 is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.7% C 0.160 H 19.3°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #9D1F31 |
|---|---|
| RGB | rgb(157, 31, 49) |
| HSL | hsl(351, 67%, 37%) |
| HSV | hsv(351, 80%, 62%) |
| CMYK | cmyk(0%, 80.3%, 68.8%, 38.4%) |
| CIE-LAB | lab(34.75, 51.17, 22.52) |
| CIE-LCH | lch(34.75, 55.91, 23.75°) |
| OKLab | oklab(45.74% 0.1514 0.0529) |
| OKLCH | oklch(45.74% 0.16 19.3) |
| XYZ | xyz(14.9507, 8.3721, 3.7339) |
| Luminance | 0.0837 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.44
Brown
#A52A2A
ΔE00 5.14
Cranberry
#9E003A
ΔE00 5.51
Rose Red
#BE013C
ΔE00 6.22
Carmine
#9D0216
ΔE00 6.60
Lipstick Red
#C0022F
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D1F31 #1F9D8B
analogous
#9D1F70 #9D1F31 #9D4C1F
triadic
#9D1F31 #319D1F #1F319D
tetradic
#9D1F31 #709D1F #1F9D8B #4C1F9D
square
#9D1F31 #709D1F #1F9D8B #4C1F9D
split-complementary
#9D1F31 #1F9D4C #1F709D
monochromatic
#370B11 #6A1521 #9D1F31 #D02941 #DE586B
Accessibility & contrast
On white
7.85
#9D1F31 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#9D1F31 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D1F31
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D1F31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D1F31 | 1.00 | 7.85 | 2.67 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454131
Deuteranopia (green-blind)
#645B2D
Tritanopia (blue-blind)
#AD0027
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9d1f31; /* rgb */ color: rgb(157, 31, 49); /* oklch */ color: oklch(45.7% 0.160 19.3);
Tailwind
colors: {
custom: {
50: '#c26869',
500: '#9d1f31',
950: '#000000',
},
}SCSS
$custom: #9d1f31; $custom-light: #c26869; $custom-dark: #000000;
JSON
{
"hex": "#9d1f31",
"rgb": {
"r": 157,
"g": 31,
"b": 49
},
"hsl": {
"h": 351.429,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.45744,
"c": 0.16037,
"h": 19.3
},
"luminance": 0.0837
}Semantic roles & 50–950 ramp
primary
#9D1F31
secondary
#56C2B2
accent
#EAD13E
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140706
muted
#827A7A