#9E1F31#9E1F31
#9E1F31 is a mid, vivid red. Relative luminance 0.085; OKLCH L 45.9% C 0.161 H 19.4°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1F31 |
|---|---|
| RGB | rgb(158, 31, 49) |
| HSL | hsl(351, 67%, 37%) |
| HSV | hsv(351, 80%, 62%) |
| CMYK | cmyk(0%, 80.4%, 69%, 38%) |
| CIE-LAB | lab(34.95, 51.47, 22.81) |
| CIE-LCH | lch(34.95, 56.30, 23.91°) |
| OKLab | oklab(45.93% 0.1522 0.0535) |
| OKLCH | oklch(45.93% 0.161 19.4) |
| XYZ | xyz(15.1466, 8.4732, 3.7431) |
| Luminance | 0.0847 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.38
Brown
#A52A2A
ΔE00 4.98
Cranberry
#9E003A
ΔE00 5.63
Rose Red
#BE013C
ΔE00 6.07
Lipstick Red
#C0022F
ΔE00 6.41
Carmine
#9D0216
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1F31 #1F9E8C
analogous
#9E1F71 #9E1F31 #9E4D1F
triadic
#9E1F31 #319E1F #1F319E
tetradic
#9E1F31 #719E1F #1F9E8C #4D1F9E
square
#9E1F31 #719E1F #1F9E8C #4D1F9E
split-complementary
#9E1F31 #1F9E4D #1F719E
monochromatic
#380B11 #6B1521 #9E1F31 #D12941 #DE596C
Accessibility & contrast
On white
7.79
#9E1F31 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#9E1F31 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1F31
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1F31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1F31 | 1.00 | 7.79 | 2.69 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454131
Deuteranopia (green-blind)
#655C2D
Tritanopia (blue-blind)
#AE0027
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9e1f31; /* rgb */ color: rgb(158, 31, 49); /* oklch */ color: oklch(45.9% 0.161 19.4);
Tailwind
colors: {
custom: {
50: '#c26869',
500: '#9e1f31',
950: '#000000',
},
}SCSS
$custom: #9e1f31; $custom-light: #c26869; $custom-dark: #000000;
JSON
{
"hex": "#9e1f31",
"rgb": {
"r": 158,
"g": 31,
"b": 49
},
"hsl": {
"h": 351.496,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.4593,
"c": 0.16135,
"h": 19.4
},
"luminance": 0.08471
}Semantic roles & 50–950 ramp
primary
#9E1F31
secondary
#56C2B3
accent
#EAD23E
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140706
muted
#827A7A