#5B1313#5B1313
#5B1313 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.4% C 0.104 H 25.5°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).
Color values
| HEX | #5B1313 |
|---|---|
| RGB | rgb(91, 19, 19) |
| HSL | hsl(0, 65%, 22%) |
| HSV | hsv(0, 79%, 36%) |
| CMYK | cmyk(0%, 79.1%, 79.1%, 64.3%) |
| CIE-LAB | lab(18.96, 32.38, 19.84) |
| CIE-LCH | lch(18.96, 37.97, 31.49°) |
| OKLab | oklab(31.39% 0.0939 0.0448) |
| OKLCH | oklch(31.39% 0.104 25.5) |
| XYZ | xyz(4.6653, 2.7376, 0.8987) |
| Luminance | 0.0274 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rosewood
#65000B
ΔE00 3.39
Dried Blood
#4B0101
ΔE00 4.14
Mahogany
#4A0100
ΔE00 4.30
Claret
#680018
ΔE00 4.72
Deep Brown
#410200
ΔE00 6.03
Reddy Brown
#6E1005
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B1313 #135B5B
analogous
#5B1337 #5B1313 #5B3713
triadic
#5B1313 #135B13 #13135B
tetradic
#5B1313 #375B13 #135B5B #37135B
square
#5B1313 #375B13 #135B5B #37135B
split-complementary
#5B1313 #135B37 #13375B
monochromatic
#190505 #280808 #5B1313 #8E1E1E #C02828
Accessibility & contrast
On white
13.57
#5B1313 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#5B1313 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B1313
13.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B1313 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B1313 | 1.00 | 13.57 | 1.55 | 13.57 |
| #FFFFFF | 13.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#282412
Deuteranopia (green-blind)
#3A3410
Tritanopia (blue-blind)
#650014
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #5b1313; /* rgb */ color: rgb(91, 19, 19); /* oklch */ color: oklch(31.4% 0.104 25.5);
Tailwind
colors: {
custom: {
50: '#905750',
500: '#5b1313',
950: '#000000',
},
}SCSS
$custom: #5b1313; $custom-light: #905750; $custom-dark: #000000;
JSON
{
"hex": "#5b1313",
"rgb": {
"r": 91,
"g": 19,
"b": 19
},
"hsl": {
"h": 0,
"s": 65.455,
"l": 21.569
},
"oklch": {
"l": 0.31388,
"c": 0.10403,
"h": 25.5
},
"luminance": 0.02737
}Semantic roles & 50–950 ramp
primary
#5B1313
secondary
#379393
accent
#E8E83F
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878