#5F151F#5F151F
#5F151F is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.6% C 0.105 H 18.0°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).
Color values
| HEX | #5F151F |
|---|---|
| RGB | rgb(95, 21, 31) |
| HSL | hsl(352, 64%, 23%) |
| HSV | hsv(352, 78%, 37%) |
| CMYK | cmyk(0%, 77.9%, 67.4%, 62.7%) |
| CIE-LAB | lab(20.32, 33.70, 13.50) |
| CIE-LCH | lch(20.32, 36.30, 21.83°) |
| OKLab | oklab(32.62% 0.1004 0.0325) |
| OKLCH | oklch(32.62% 0.105 18) |
| XYZ | xyz(5.2353, 3.0689, 1.6127) |
| Luminance | 0.0307 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.53
Maroon (survey)
#650021
ΔE00 3.89
Burgundy (survey)
#610023
ΔE00 4.86
Wine Red
#7B0323
ΔE00 5.84
Rosewood
#65000B
ΔE00 6.08
Dried Blood
#4B0101
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F151F #155F55
analogous
#5F1544 #5F151F #5F3015
triadic
#5F151F #1F5F15 #151F5F
tetradic
#5F151F #445F15 #155F55 #30155F
square
#5F151F #445F15 #155F55 #30155F
split-complementary
#5F151F #155F30 #15445F
monochromatic
#190608 #2D0A0F #5F151F #91202F #C32B40
Accessibility & contrast
On white
13.01
#5F151F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#5F151F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F151F
13.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F151F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F151F | 1.00 | 13.01 | 1.61 | 13.01 |
| #FFFFFF | 13.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29271F
Deuteranopia (green-blind)
#3C371D
Tritanopia (blue-blind)
#690019
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5f151f; /* rgb */ color: rgb(95, 21, 31); /* oklch */ color: oklch(32.6% 0.105 18.0);
Tailwind
colors: {
custom: {
50: '#92595a',
500: '#5f151f',
950: '#000000',
},
}SCSS
$custom: #5f151f; $custom-light: #92595a; $custom-dark: #000000;
JSON
{
"hex": "#5f151f",
"rgb": {
"r": 95,
"g": 21,
"b": 31
},
"hsl": {
"h": 351.892,
"s": 63.793,
"l": 22.745
},
"oklch": {
"l": 0.32622,
"c": 0.10549,
"h": 18
},
"luminance": 0.03068
}Semantic roles & 50–950 ramp
primary
#5F151F
secondary
#3A968A
accent
#E7D041
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978