#9E1B27#9E1B27
#9E1B27 is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.5% C 0.165 H 22.8°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1B27 |
|---|---|
| RGB | rgb(158, 27, 39) |
| HSL | hsl(355, 71%, 36%) |
| HSV | hsv(355, 83%, 62%) |
| CMYK | cmyk(0%, 82.9%, 75.3%, 38%) |
| CIE-LAB | lab(34.40, 52.12, 28.43) |
| CIE-LCH | lch(34.40, 59.37, 28.61°) |
| OKLab | oklab(45.47% 0.152 0.064) |
| OKLCH | oklch(45.47% 0.165 22.8) |
| XYZ | xyz(14.8605, 8.2018, 2.7197) |
| Luminance | 0.0820 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.17
Carmine
#9D0216
ΔE00 3.74
Firebrick
#B22222
ΔE00 5.61
Rouge
#AB1239
ΔE00 5.81
Crimson (survey)
#8C000F
ΔE00 5.96
Lipstick Red
#C0022F
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1B27 #1B9E92
analogous
#9E1B69 #9E1B27 #9E511B
triadic
#9E1B27 #279E1B #1B279E
tetradic
#9E1B27 #699E1B #1B9E92 #511B9E
square
#9E1B27 #699E1B #1B9E92 #511B9E
split-complementary
#9E1B27 #1B9E51 #1B699E
monochromatic
#35090D #6A121A #9E1B27 #D22434 #E1525F
Accessibility & contrast
On white
7.96
#9E1B27 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#9E1B27 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1B27
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1B27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1B27 | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#453F26
Deuteranopia (green-blind)
#655B22
Tritanopia (blue-blind)
#AE0021
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9e1b27; /* rgb */ color: rgb(158, 27, 39); /* oklch */ color: oklch(45.5% 0.165 22.8);
Tailwind
colors: {
custom: {
50: '#c36661',
500: '#9e1b27',
950: '#000000',
},
}SCSS
$custom: #9e1b27; $custom-light: #c36661; $custom-dark: #000000;
JSON
{
"hex": "#9e1b27",
"rgb": {
"r": 158,
"g": 27,
"b": 39
},
"hsl": {
"h": 354.504,
"s": 70.811,
"l": 36.275
},
"oklch": {
"l": 0.45474,
"c": 0.16492,
"h": 22.8
},
"luminance": 0.08199
}Semantic roles & 50–950 ramp
primary
#9E1B27
secondary
#51C4BA
accent
#EEDD3A
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140705
muted
#837A79