#5B131F#5B131F
#5B131F is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.6% C 0.103 H 16.2°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).
Color values
| HEX | #5B131F |
|---|---|
| RGB | rgb(91, 19, 31) |
| HSL | hsl(350, 65%, 22%) |
| HSV | hsv(350, 79%, 36%) |
| CMYK | cmyk(0%, 79.1%, 65.9%, 64.3%) |
| CIE-LAB | lab(19.18, 33.11, 11.85) |
| CIE-LCH | lch(19.18, 35.17, 19.70°) |
| OKLab | oklab(31.62% 0.0991 0.0289) |
| OKLCH | oklch(31.62% 0.103 16.2) |
| XYZ | xyz(4.7951, 2.7895, 1.5820) |
| Luminance | 0.0279 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Maroon (survey)
#650021
ΔE00 3.55
Burgundy (survey)
#610023
ΔE00 4.13
Claret
#680018
ΔE00 4.29
Dried Blood
#4B0101
ΔE00 6.52
Wine Red
#7B0323
ΔE00 6.65
Mahogany
#4A0100
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B131F #135B4F
analogous
#5B1343 #5B131F #5B2B13
triadic
#5B131F #1F5B13 #131F5B
tetradic
#5B131F #435B13 #135B4F #2B135B
square
#5B131F #435B13 #135B4F #2B135B
split-complementary
#5B131F #135B2B #13435B
monochromatic
#190509 #28080E #5B131F #8E1E30 #C02841
Accessibility & contrast
On white
13.48
#5B131F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#5B131F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B131F
13.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B131F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B131F | 1.00 | 13.48 | 1.56 | 13.48 |
| #FFFFFF | 13.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27251F
Deuteranopia (green-blind)
#39341D
Tritanopia (blue-blind)
#640018
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #5b131f; /* rgb */ color: rgb(91, 19, 31); /* oklch */ color: oklch(31.6% 0.103 16.2);
Tailwind
colors: {
custom: {
50: '#8f575a',
500: '#5b131f',
950: '#000000',
},
}SCSS
$custom: #5b131f; $custom-light: #8f575a; $custom-dark: #000000;
JSON
{
"hex": "#5b131f",
"rgb": {
"r": 91,
"g": 19,
"b": 31
},
"hsl": {
"h": 350,
"s": 65.455,
"l": 21.569
},
"oklch": {
"l": 0.31622,
"c": 0.10318,
"h": 16.2
},
"luminance": 0.02789
}Semantic roles & 50–950 ramp
primary
#5B131F
secondary
#379384
accent
#E8CC3F
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0303
muted
#7E7878