#9E1D1B#9E1D1B
#9E1D1B is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.5% C 0.165 H 27.4°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1D1B |
|---|---|
| RGB | rgb(158, 29, 27) |
| HSL | hsl(1, 71%, 36%) |
| HSV | hsv(1, 83%, 62%) |
| CMYK | cmyk(0%, 81.6%, 82.9%, 38%) |
| CIE-LAB | lab(34.46, 51.15, 35.59) |
| CIE-LCH | lch(34.46, 62.31, 34.83°) |
| OKLab | oklab(45.47% 0.1463 0.0759) |
| OKLCH | oklch(45.47% 0.165 27.4) |
| XYZ | xyz(14.7396, 8.2294, 1.8490) |
| Luminance | 0.0823 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 2.28
Brown
#A52A2A
ΔE00 3.43
Darkish Red
#A90308
ΔE00 3.76
Firebrick
#B22222
ΔE00 4.17
Blood Red
#980002
ΔE00 4.33
Brownish Red
#9E3623
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1D1B #1B9C9E
analogous
#9E1B5B #9E1D1B #9E5F1B
triadic
#9E1D1B #1B9E1D #1D1B9E
tetradic
#9E1D1B #5B9E1B #1B9C9E #5F1B9E
square
#9E1D1B #5B9E1B #1B9C9E #5F1B9E
split-complementary
#9E1D1B #1B9E5F #1B5B9E
monochromatic
#350A09 #6A1312 #9E1D1B #D22724 #E15452
Accessibility & contrast
On white
7.94
#9E1D1B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#9E1D1B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1D1B
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1D1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1D1B | 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)
#473F19
Deuteranopia (green-blind)
#665B14
Tritanopia (blue-blind)
#AF001F
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9e1d1b; /* rgb */ color: rgb(158, 29, 27); /* oklch */ color: oklch(45.5% 0.165 27.4);
Tailwind
colors: {
custom: {
50: '#c46758',
500: '#9e1d1b',
950: '#000000',
},
}SCSS
$custom: #9e1d1b; $custom-light: #c46758; $custom-dark: #000000;
JSON
{
"hex": "#9e1d1b",
"rgb": {
"r": 158,
"g": 29,
"b": 27
},
"hsl": {
"h": 0.916,
"s": 70.811,
"l": 36.275
},
"oklch": {
"l": 0.45472,
"c": 0.16479,
"h": 27.4
},
"luminance": 0.08227
}Semantic roles & 50–950 ramp
primary
#9E1D1B
secondary
#51C2C4
accent
#EBEE3A
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78