#5F181A#5F181A
#5F181A is a dark, moderate red. Relative luminance 0.032; OKLCH L 32.9% C 0.103 H 23.3°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).
Color values
| HEX | #5F181A |
|---|---|
| RGB | rgb(95, 24, 26) |
| HSL | hsl(358, 60%, 23%) |
| HSV | hsv(358, 75%, 37%) |
| CMYK | cmyk(0%, 74.7%, 72.6%, 62.7%) |
| CIE-LAB | lab(20.68, 32.11, 17.39) |
| CIE-LCH | lch(20.68, 36.52, 28.44°) |
| OKLab | oklab(32.86% 0.0942 0.0406) |
| OKLCH | oklch(32.86% 0.103 23.3) |
| XYZ | xyz(5.2330, 3.1615, 1.3118) |
| Luminance | 0.0316 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 4.03
Rosewood
#65000B
ΔE00 4.30
Dried Blood
#4B0101
ΔE00 5.45
Mahogany
#4A0100
ΔE00 5.64
Maroon (survey)
#650021
ΔE00 6.45
Wine Red
#7B0323
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F181A #185F5D
analogous
#5F183D #5F181A #5F3918
triadic
#5F181A #1A5F18 #181A5F
tetradic
#5F181A #3D5F18 #185F5D #39185F
square
#5F181A #3D5F18 #185F5D #39185F
split-complementary
#5F181A #185F39 #183D5F
monochromatic
#180607 #2E0C0D #5F181A #902427 #C13135
Accessibility & contrast
On white
12.87
#5F181A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#5F181A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F181A
12.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F181A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F181A | 1.00 | 12.87 | 1.63 | 12.87 |
| #FFFFFF | 12.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C2819
Deuteranopia (green-blind)
#3E3718
Tritanopia (blue-blind)
#690319
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #5f181a; /* rgb */ color: rgb(95, 24, 26); /* oklch */ color: oklch(32.9% 0.103 23.3);
Tailwind
colors: {
custom: {
50: '#925a56',
500: '#5f181a',
950: '#000000',
},
}SCSS
$custom: #5f181a; $custom-light: #925a56; $custom-dark: #000000;
JSON
{
"hex": "#5f181a",
"rgb": {
"r": 95,
"g": 24,
"b": 26
},
"hsl": {
"h": 358.31,
"s": 59.664,
"l": 23.333
},
"oklch": {
"l": 0.32861,
"c": 0.10254,
"h": 23.3
},
"luminance": 0.03161
}Semantic roles & 50–950 ramp
primary
#5F181A
secondary
#3D9593
accent
#E3DE45
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978