#9E1A17#9E1A17
#9E1A17 is a mid, vivid red. Relative luminance 0.081; OKLCH L 45.2% C 0.167 H 28.0°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1A17 |
|---|---|
| RGB | rgb(158, 26, 23) |
| HSL | hsl(1, 75%, 35%) |
| HSV | hsv(1, 85%, 62%) |
| CMYK | cmyk(0%, 83.5%, 85.4%, 38%) |
| CIE-LAB | lab(34.13, 51.85, 37.46) |
| CIE-LCH | lch(34.13, 63.97, 35.85°) |
| OKLab | oklab(45.22% 0.1477 0.0785) |
| OKLCH | oklch(45.22% 0.167 28) |
| XYZ | xyz(14.6265, 8.0722, 1.5984) |
| Luminance | 0.0807 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 2.37
Darkish Red
#A90308
ΔE00 3.09
Blood Red
#980002
ΔE00 3.56
Deep Red
#9A0200
ΔE00 3.76
Brown
#A52A2A
ΔE00 4.17
Firebrick
#B22222
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1A17 #179B9E
analogous
#9E1758 #9E1A17 #9E5D17
triadic
#9E1A17 #179E1A #1A179E
tetradic
#9E1A17 #589E17 #179B9E #5D179E
square
#9E1A17 #589E17 #179B9E #5D179E
split-complementary
#9E1A17 #179E5D #17589E
monochromatic
#330807 #69110F #9E1A17 #D3231F #E54E4B
Accessibility & contrast
On white
8.03
#9E1A17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#9E1A17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1A17
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1A17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1A17 | 1.00 | 8.03 | 2.61 | 8.03 |
| #FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#463E14
Deuteranopia (green-blind)
#665A0F
Tritanopia (blue-blind)
#AF001C
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #9e1a17; /* rgb */ color: rgb(158, 26, 23); /* oklch */ color: oklch(45.2% 0.167 28.0);
Tailwind
colors: {
custom: {
50: '#c46656',
500: '#9e1a17',
950: '#000000',
},
}SCSS
$custom: #9e1a17; $custom-light: #c46656; $custom-dark: #000000;
JSON
{
"hex": "#9e1a17",
"rgb": {
"r": 158,
"g": 26,
"b": 23
},
"hsl": {
"h": 1.333,
"s": 74.586,
"l": 35.49
},
"oklch": {
"l": 0.45221,
"c": 0.16723,
"h": 28
},
"luminance": 0.0807
}Semantic roles & 50–950 ramp
primary
#9E1A17
secondary
#4AC4C6
accent
#EDF137
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150603
muted
#837A78