#5E181B#5E181B
#5E181B is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.7% C 0.101 H 22.5°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).
Color values
| HEX | #5E181B |
|---|---|
| RGB | rgb(94, 24, 27) |
| HSL | hsl(357, 59%, 23%) |
| HSV | hsv(357, 74%, 37%) |
| CMYK | cmyk(0%, 74.5%, 71.3%, 63.1%) |
| CIE-LAB | lab(20.49, 31.81, 16.43) |
| CIE-LCH | lch(20.49, 35.80, 27.32°) |
| OKLab | oklab(32.69% 0.0936 0.0387) |
| OKLCH | oklch(32.69% 0.101 22.5) |
| XYZ | xyz(5.1411, 3.1128, 1.3668) |
| Luminance | 0.0311 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.99
Rosewood
#65000B
ΔE00 4.70
Dried Blood
#4B0101
ΔE00 5.48
Mahogany
#4A0100
ΔE00 5.66
Maroon (survey)
#650021
ΔE00 6.05
Wine Red
#7B0323
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E181B #185E5B
analogous
#5E183E #5E181B #5E3818
triadic
#5E181B #1B5E18 #181B5E
tetradic
#5E181B #3E5E18 #185E5B #38185E
square
#5E181B #3E5E18 #185E5B #38185E
split-complementary
#5E181B #185E38 #183E5E
monochromatic
#180607 #2D0C0D #5E181B #8F2429 #C03137
Accessibility & contrast
On white
12.94
#5E181B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#5E181B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E181B
12.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E181B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E181B | 1.00 | 12.94 | 1.62 | 12.94 |
| #FFFFFF | 12.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B281B
Deuteranopia (green-blind)
#3D3719
Tritanopia (blue-blind)
#68041A
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5e181b; /* rgb */ color: rgb(94, 24, 27); /* oklch */ color: oklch(32.7% 0.101 22.5);
Tailwind
colors: {
custom: {
50: '#915a57',
500: '#5e181b',
950: '#000000',
},
}SCSS
$custom: #5e181b; $custom-light: #915a57; $custom-dark: #000000;
JSON
{
"hex": "#5e181b",
"rgb": {
"r": 94,
"g": 24,
"b": 27
},
"hsl": {
"h": 357.429,
"s": 59.322,
"l": 23.137
},
"oklch": {
"l": 0.32687,
"c": 0.10124,
"h": 22.5
},
"luminance": 0.03112
}Semantic roles & 50–950 ramp
primary
#5E181B
secondary
#3D9491
accent
#E3DC45
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978