#9E1A31#9E1A31
#9E1A31 is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.6% C 0.165 H 18.4°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1A31 |
|---|---|
| RGB | rgb(158, 26, 49) |
| HSL | hsl(350, 72%, 36%) |
| HSV | hsv(350, 84%, 62%) |
| CMYK | cmyk(0%, 83.5%, 69%, 38%) |
| CIE-LAB | lab(34.46, 52.85, 22.21) |
| CIE-LCH | lch(34.46, 57.33, 22.79°) |
| OKLab | oklab(45.57% 0.1567 0.0522) |
| OKLCH | oklch(45.57% 0.165 18.4) |
| XYZ | xyz(15.0260, 8.2320, 3.7029) |
| Luminance | 0.0823 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.01
Cranberry
#9E003A
ΔE00 4.91
Brown
#A52A2A
ΔE00 5.72
Rose Red
#BE013C
ΔE00 5.99
Lipstick Red
#C0022F
ΔE00 6.70
Red Wine
#8C0034
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1A31 #1A9E87
analogous
#9E1A73 #9E1A31 #9E451A
triadic
#9E1A31 #319E1A #1A319E
tetradic
#9E1A31 #739E1A #1A9E87 #451A9E
square
#9E1A31 #739E1A #1A9E87 #451A9E
split-complementary
#9E1A31 #1A9E45 #1A739E
monochromatic
#350910 #691121 #9E1A31 #D32341 #E2506A
Accessibility & contrast
On white
7.94
#9E1A31 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#9E1A31 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1A31
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1A31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1A31 | 1.00 | 7.94 | 2.65 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#433F31
Deuteranopia (green-blind)
#645B2D
Tritanopia (blue-blind)
#AE0025
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9e1a31; /* rgb */ color: rgb(158, 26, 49); /* oklch */ color: oklch(45.6% 0.165 18.4);
Tailwind
colors: {
custom: {
50: '#c36668',
500: '#9e1a31',
950: '#000000',
},
}SCSS
$custom: #9e1a31; $custom-light: #c36668; $custom-dark: #000000;
JSON
{
"hex": "#9e1a31",
"rgb": {
"r": 158,
"g": 26,
"b": 49
},
"hsl": {
"h": 349.545,
"s": 71.739,
"l": 36.078
},
"oklch": {
"l": 0.45569,
"c": 0.1651,
"h": 18.4
},
"luminance": 0.0823
}Semantic roles & 50–950 ramp
primary
#9E1A31
secondary
#4FC5B0
accent
#EECF39
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140706
muted
#837A7A