#5F151B#5F151B
#5F151B is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.5% C 0.106 H 21.1°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).
Color values
| HEX | #5F151B |
|---|---|
| RGB | rgb(95, 21, 27) |
| HSL | hsl(355, 64%, 23%) |
| HSV | hsv(355, 78%, 37%) |
| CMYK | cmyk(0%, 77.9%, 71.6%, 62.7%) |
| CIE-LAB | lab(20.24, 33.44, 16.17) |
| CIE-LCH | lch(20.24, 37.14, 25.80°) |
| OKLab | oklab(32.54% 0.0986 0.0381) |
| OKLCH | oklch(32.54% 0.106 21.1) |
| XYZ | xyz(5.1859, 3.0491, 1.3522) |
| Luminance | 0.0305 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.26
Rosewood
#65000B
ΔE00 4.62
Maroon (survey)
#650021
ΔE00 5.24
Dried Blood
#4B0101
ΔE00 5.51
Mahogany
#4A0100
ΔE00 5.70
Wine Red
#7B0323
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F151B #155F59
analogous
#5F1540 #5F151B #5F3415
triadic
#5F151B #1B5F15 #151B5F
tetradic
#5F151B #405F15 #155F59 #34155F
square
#5F151B #405F15 #155F59 #34155F
split-complementary
#5F151B #155F34 #15405F
monochromatic
#190607 #2D0A0D #5F151B #912029 #C32B37
Accessibility & contrast
On white
13.05
#5F151B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#5F151B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F151B
13.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F151B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F151B | 1.00 | 13.05 | 1.61 | 13.05 |
| #FFFFFF | 13.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A271B
Deuteranopia (green-blind)
#3D3719
Tritanopia (blue-blind)
#690018
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5f151b; /* rgb */ color: rgb(95, 21, 27); /* oklch */ color: oklch(32.5% 0.106 21.1);
Tailwind
colors: {
custom: {
50: '#925957',
500: '#5f151b',
950: '#000000',
},
}SCSS
$custom: #5f151b; $custom-light: #925957; $custom-dark: #000000;
JSON
{
"hex": "#5f151b",
"rgb": {
"r": 95,
"g": 21,
"b": 27
},
"hsl": {
"h": 355.135,
"s": 63.793,
"l": 22.745
},
"oklch": {
"l": 0.32538,
"c": 0.10568,
"h": 21.1
},
"luminance": 0.03048
}Semantic roles & 50–950 ramp
primary
#5F151B
secondary
#3A968F
accent
#E7D941
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978