#9E1F1B#9E1F1B
#9E1F1B is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.6% C 0.163 H 27.9°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1F1B |
|---|---|
| RGB | rgb(158, 31, 27) |
| HSL | hsl(2, 71%, 36%) |
| HSV | hsv(2, 83%, 62%) |
| CMYK | cmyk(0%, 80.4%, 82.9%, 38%) |
| CIE-LAB | lab(34.66, 50.56, 35.79) |
| CIE-LCH | lch(34.66, 61.95, 35.29°) |
| OKLab | oklab(45.63% 0.1444 0.0764) |
| OKLCH | oklch(45.63% 0.163 27.9) |
| XYZ | xyz(14.7902, 8.3306, 1.8659) |
| Luminance | 0.0833 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 2.60
Brown
#A52A2A
ΔE00 3.46
Darkish Red
#A90308
ΔE00 3.65
Firebrick
#B22222
ΔE00 4.10
Brownish Red
#9E3623
ΔE00 4.23
Blood Red
#980002
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1F1B #1B9A9E
analogous
#9E1B59 #9E1F1B #9E611B
triadic
#9E1F1B #1B9E1F #1F1B9E
tetradic
#9E1F1B #599E1B #1B9A9E #611B9E
square
#9E1F1B #599E1B #1B9A9E #611B9E
split-complementary
#9E1F1B #1B9E61 #1B599E
monochromatic
#350A09 #6A1512 #9E1F1B #D22924 #E15652
Accessibility & contrast
On white
7.88
#9E1F1B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#9E1F1B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1F1B
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1F1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1F1B | 1.00 | 7.88 | 2.67 | 7.88 |
| #FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484019
Deuteranopia (green-blind)
#675B14
Tritanopia (blue-blind)
#AF0020
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9e1f1b; /* rgb */ color: rgb(158, 31, 27); /* oklch */ color: oklch(45.6% 0.163 27.9);
Tailwind
colors: {
custom: {
50: '#c46758',
500: '#9e1f1b',
950: '#000000',
},
}SCSS
$custom: #9e1f1b; $custom-light: #c46758; $custom-dark: #000000;
JSON
{
"hex": "#9e1f1b",
"rgb": {
"r": 158,
"g": 31,
"b": 27
},
"hsl": {
"h": 1.832,
"s": 70.811,
"l": 36.275
},
"oklch": {
"l": 0.45625,
"c": 0.16338,
"h": 27.9
},
"luminance": 0.08328
}Semantic roles & 50–950 ramp
primary
#9E1F1B
secondary
#51C1C4
accent
#E8EE3A
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78