#9E1F18#9E1F18
#9E1F18 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.6% C 0.164 H 28.7°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1F18 |
|---|---|
| RGB | rgb(158, 31, 24) |
| HSL | hsl(3, 74%, 36%) |
| HSV | hsv(3, 85%, 62%) |
| CMYK | cmyk(0%, 80.4%, 84.8%, 38%) |
| CIE-LAB | lab(34.64, 50.48, 37.39) |
| CIE-LCH | lch(34.64, 62.82, 36.53°) |
| OKLab | oklab(45.6% 0.1436 0.0787) |
| OKLCH | oklch(45.6% 0.164 28.7) |
| XYZ | xyz(14.7572, 8.3174, 1.6924) |
| Luminance | 0.0832 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 3.02
Darkish Red
#A90308
ΔE00 3.08
Blood Red
#980002
ΔE00 3.76
Deep Red
#9A0200
ΔE00 3.86
Brownish Red
#9E3623
ΔE00 3.97
Brick
#A03623
ΔE00 4.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1F18 #18979E
analogous
#9E1854 #9E1F18 #9E6218
triadic
#9E1F18 #189E1F #1F189E
tetradic
#9E1F18 #549E18 #18979E #62189E
square
#9E1F18 #549E18 #18979E #62189E
split-complementary
#9E1F18 #189E62 #18549E
monochromatic
#340A08 #691510 #9E1F18 #D32920 #E4544D
Accessibility & contrast
On white
7.89
#9E1F18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#9E1F18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1F18
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1F18 | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484015
Deuteranopia (green-blind)
#675B11
Tritanopia (blue-blind)
#AF001F
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9e1f18; /* rgb */ color: rgb(158, 31, 24); /* oklch */ color: oklch(45.6% 0.164 28.7);
Tailwind
colors: {
custom: {
50: '#c46757',
500: '#9e1f18',
950: '#000000',
},
}SCSS
$custom: #9e1f18; $custom-light: #c46757; $custom-dark: #000000;
JSON
{
"hex": "#9e1f18",
"rgb": {
"r": 158,
"g": 31,
"b": 24
},
"hsl": {
"h": 3.134,
"s": 73.626,
"l": 35.686
},
"oklch": {
"l": 0.45597,
"c": 0.16374,
"h": 28.7
},
"luminance": 0.08315
}Semantic roles & 50–950 ramp
primary
#9E1F18
secondary
#4CBFC6
accent
#E7F038
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78