#5F131B#5F131B
#5F131B is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.3% C 0.108 H 20.2°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).
Color values
| HEX | #5F131B |
|---|---|
| RGB | rgb(95, 19, 27) |
| HSL | hsl(354, 67%, 22%) |
| HSV | hsv(354, 80%, 37%) |
| CMYK | cmyk(0%, 80%, 71.6%, 62.7%) |
| CIE-LAB | lab(19.96, 34.22, 15.82) |
| CIE-LCH | lch(19.96, 37.70, 24.81°) |
| OKLab | oklab(32.33% 0.1011 0.0373) |
| OKLCH | oklch(32.33% 0.108 20.2) |
| XYZ | xyz(5.1506, 2.9785, 1.3404) |
| Luminance | 0.0298 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 2.95
Rosewood
#65000B
ΔE00 4.74
Maroon (survey)
#650021
ΔE00 4.75
Dried Blood
#4B0101
ΔE00 5.53
Mahogany
#4A0100
ΔE00 5.73
Wine Red
#7B0323
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F131B #135F57
analogous
#5F1341 #5F131B #5F3113
triadic
#5F131B #1B5F13 #131B5F
tetradic
#5F131B #415F13 #135F57 #31135F
square
#5F131B #415F13 #135F57 #31135F
split-complementary
#5F131B #135F31 #13415F
monochromatic
#1A0507 #2C090D #5F131B #921D29 #C52738
Accessibility & contrast
On white
13.16
#5F131B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#5F131B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F131B
13.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F131B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F131B | 1.00 | 13.16 | 1.60 | 13.16 |
| #FFFFFF | 13.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29261B
Deuteranopia (green-blind)
#3C3619
Tritanopia (blue-blind)
#690017
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5f131b; /* rgb */ color: rgb(95, 19, 27); /* oklch */ color: oklch(32.3% 0.108 20.2);
Tailwind
colors: {
custom: {
50: '#925857',
500: '#5f131b',
950: '#000000',
},
}SCSS
$custom: #5f131b; $custom-light: #925857; $custom-dark: #000000;
JSON
{
"hex": "#5f131b",
"rgb": {
"r": 95,
"g": 19,
"b": 27
},
"hsl": {
"h": 353.684,
"s": 66.667,
"l": 22.353
},
"oklch": {
"l": 0.32329,
"c": 0.10774,
"h": 20.2
},
"luminance": 0.02978
}Semantic roles & 50–950 ramp
primary
#5F131B
secondary
#37978D
accent
#EAD83E
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978