#5F131A#5F131A
#5F131A is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.3% C 0.108 H 21.0°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).
Color values
| HEX | #5F131A |
|---|---|
| RGB | rgb(95, 19, 26) |
| HSL | hsl(354, 67%, 22%) |
| HSV | hsv(354, 80%, 37%) |
| CMYK | cmyk(0%, 80%, 72.6%, 62.7%) |
| CIE-LAB | lab(19.94, 34.16, 16.48) |
| CIE-LCH | lch(19.94, 37.93, 25.76°) |
| OKLab | oklab(32.31% 0.1007 0.0386) |
| OKLCH | oklch(32.31% 0.108 21) |
| XYZ | xyz(5.1392, 2.9740, 1.2805) |
| Luminance | 0.0297 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 2.98
Rosewood
#65000B
ΔE00 4.39
Maroon (survey)
#650021
ΔE00 5.12
Dried Blood
#4B0101
ΔE00 5.32
Mahogany
#4A0100
ΔE00 5.53
Wine Red
#7B0323
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F131A #135F58
analogous
#5F1340 #5F131A #5F3213
triadic
#5F131A #1A5F13 #131A5F
tetradic
#5F131A #405F13 #135F58 #32135F
square
#5F131A #405F13 #135F58 #32135F
split-complementary
#5F131A #135F32 #13405F
monochromatic
#1A0507 #2C090C #5F131A #921D28 #C52736
Accessibility & contrast
On white
13.17
#5F131A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#5F131A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F131A
13.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F131A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F131A | 1.00 | 13.17 | 1.59 | 13.17 |
| #FFFFFF | 13.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29261A
Deuteranopia (green-blind)
#3C3618
Tritanopia (blue-blind)
#690016
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5f131a; /* rgb */ color: rgb(95, 19, 26); /* oklch */ color: oklch(32.3% 0.108 21.0);
Tailwind
colors: {
custom: {
50: '#935856',
500: '#5f131a',
950: '#000000',
},
}SCSS
$custom: #5f131a; $custom-light: #935856; $custom-dark: #000000;
JSON
{
"hex": "#5f131a",
"rgb": {
"r": 95,
"g": 19,
"b": 26
},
"hsl": {
"h": 354.474,
"s": 66.667,
"l": 22.353
},
"oklch": {
"l": 0.32309,
"c": 0.10781,
"h": 21
},
"luminance": 0.02973
}Semantic roles & 50–950 ramp
primary
#5F131A
secondary
#37978E
accent
#EADA3E
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0403
muted
#7E7978