#5F181F#5F181F
#5F181F is a dark, moderate red. Relative luminance 0.032; OKLCH L 33.0% C 0.102 H 19.4°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).
Color values
| HEX | #5F181F |
|---|---|
| RGB | rgb(95, 24, 31) |
| HSL | hsl(354, 60%, 23%) |
| HSV | hsv(354, 75%, 37%) |
| CMYK | cmyk(0%, 74.7%, 67.4%, 62.7%) |
| CIE-LAB | lab(20.77, 32.44, 14.09) |
| CIE-LCH | lch(20.77, 35.37, 23.47°) |
| OKLab | oklab(32.96% 0.0963 0.0339) |
| OKLCH | oklch(32.96% 0.102 19.4) |
| XYZ | xyz(5.2938, 3.1858, 1.6322) |
| Luminance | 0.0319 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.81
Maroon (survey)
#650021
ΔE00 4.70
Burgundy (survey)
#610023
ΔE00 5.69
Rosewood
#65000B
ΔE00 5.83
Wine Red
#7B0323
ΔE00 6.08
Dried Blood
#4B0101
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F181F #185F58
analogous
#5F1842 #5F181F #5F3418
triadic
#5F181F #1F5F18 #181F5F
tetradic
#5F181F #425F18 #185F58 #34185F
square
#5F181F #425F18 #185F58 #34185F
split-complementary
#5F181F #185F34 #18425F
monochromatic
#180608 #2E0C0F #5F181F #90242F #C1313F
Accessibility & contrast
On white
12.83
#5F181F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#5F181F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F181F
12.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F181F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F181F | 1.00 | 12.83 | 1.64 | 12.83 |
| #FFFFFF | 12.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B281F
Deuteranopia (green-blind)
#3D371D
Tritanopia (blue-blind)
#69051B
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #5f181f; /* rgb */ color: rgb(95, 24, 31); /* oklch */ color: oklch(33.0% 0.102 19.4);
Tailwind
colors: {
custom: {
50: '#925a5a',
500: '#5f181f',
950: '#000000',
},
}SCSS
$custom: #5f181f; $custom-light: #925a5a; $custom-dark: #000000;
JSON
{
"hex": "#5f181f",
"rgb": {
"r": 95,
"g": 24,
"b": 31
},
"hsl": {
"h": 354.085,
"s": 59.664,
"l": 23.333
},
"oklch": {
"l": 0.32961,
"c": 0.10212,
"h": 19.4
},
"luminance": 0.03185
}Semantic roles & 50–950 ramp
primary
#5F181F
secondary
#3D958D
accent
#E3D345
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978