#9E1B31#9E1B31
#9E1B31 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.6% C 0.164 H 18.6°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1B31 |
|---|---|
| RGB | rgb(158, 27, 49) |
| HSL | hsl(350, 71%, 36%) |
| HSV | hsv(350, 83%, 62%) |
| CMYK | cmyk(0%, 82.9%, 69%, 38%) |
| CIE-LAB | lab(34.55, 52.59, 22.32) |
| CIE-LCH | lch(34.55, 57.13, 23.00°) |
| OKLab | oklab(45.64% 0.1558 0.0524) |
| OKLCH | oklch(45.64% 0.164 18.6) |
| XYZ | xyz(15.0486, 8.2771, 3.7104) |
| Luminance | 0.0828 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.06
Cranberry
#9E003A
ΔE00 5.04
Brown
#A52A2A
ΔE00 5.58
Rose Red
#BE013C
ΔE00 6.00
Lipstick Red
#C0022F
ΔE00 6.64
Carmine
#9D0216
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1B31 #1B9E88
analogous
#9E1B73 #9E1B31 #9E471B
triadic
#9E1B31 #319E1B #1B319E
tetradic
#9E1B31 #739E1B #1B9E88 #471B9E
square
#9E1B31 #739E1B #1B9E88 #471B9E
split-complementary
#9E1B31 #1B9E47 #1B739E
monochromatic
#350911 #6A1221 #9E1B31 #D22441 #E1526A
Accessibility & contrast
On white
7.91
#9E1B31 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#9E1B31 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1B31
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1B31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1B31 | 1.00 | 7.91 | 2.66 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444031
Deuteranopia (green-blind)
#645B2D
Tritanopia (blue-blind)
#AE0025
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9e1b31; /* rgb */ color: rgb(158, 27, 49); /* oklch */ color: oklch(45.6% 0.164 18.6);
Tailwind
colors: {
custom: {
50: '#c36668',
500: '#9e1b31',
950: '#000000',
},
}SCSS
$custom: #9e1b31; $custom-light: #c36668; $custom-dark: #000000;
JSON
{
"hex": "#9e1b31",
"rgb": {
"r": 158,
"g": 27,
"b": 49
},
"hsl": {
"h": 349.924,
"s": 70.811,
"l": 36.275
},
"oklch": {
"l": 0.45637,
"c": 0.16439,
"h": 18.6
},
"luminance": 0.08275
}Semantic roles & 50–950 ramp
primary
#9E1B31
secondary
#51C4B1
accent
#EECF3A
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140706
muted
#837A7A