#5B0F1A#5B0F1A
#5B0F1A is a dark, moderate red. Relative luminance 0.026; OKLCH L 31.1% C 0.107 H 18.7°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).
Color values
| HEX | #5B0F1A |
|---|---|
| RGB | rgb(91, 15, 26) |
| HSL | hsl(351, 72%, 21%) |
| HSV | hsv(351, 84%, 36%) |
| CMYK | cmyk(0%, 83.5%, 71.4%, 64.3%) |
| CIE-LAB | lab(18.55, 34.26, 14.55) |
| CIE-LCH | lch(18.55, 37.22, 23.02°) |
| OKLab | oklab(31.12% 0.1016 0.0345) |
| OKLCH | oklch(31.12% 0.107 18.7) |
| XYZ | xyz(4.6722, 2.6411, 1.2408) |
| Luminance | 0.0264 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.27
Maroon (survey)
#650021
ΔE00 4.15
Burgundy (survey)
#610023
ΔE00 5.11
Dried Blood
#4B0101
ΔE00 5.19
Mahogany
#4A0100
ΔE00 5.39
Rosewood
#65000B
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B0F1A #0F5B50
analogous
#5B0F40 #5B0F1A #5B2A0F
triadic
#5B0F1A #1A5B0F #0F1A5B
tetradic
#5B0F1A #405B0F #0F5B50 #2A0F5B
square
#5B0F1A #405B0F #0F5B50 #2A0F5B
split-complementary
#5B0F1A #0F5B2A #0F405B
monochromatic
#1A0408 #26060B #5B0F1A #901829 #C42038
Accessibility & contrast
On white
13.74
#5B0F1A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#5B0F1A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B0F1A
13.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B0F1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B0F1A | 1.00 | 13.74 | 1.53 | 13.74 |
| #FFFFFF | 13.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25231A
Deuteranopia (green-blind)
#383318
Tritanopia (blue-blind)
#650014
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #5b0f1a; /* rgb */ color: rgb(91, 15, 26); /* oklch */ color: oklch(31.1% 0.107 18.7);
Tailwind
colors: {
custom: {
50: '#8f5656',
500: '#5b0f1a',
950: '#000000',
},
}SCSS
$custom: #5b0f1a; $custom-light: #8f5656; $custom-dark: #000000;
JSON
{
"hex": "#5b0f1a",
"rgb": {
"r": 91,
"g": 15,
"b": 26
},
"hsl": {
"h": 351.316,
"s": 71.698,
"l": 20.784
},
"oklch": {
"l": 0.31117,
"c": 0.10727,
"h": 18.7
},
"luminance": 0.0264
}Semantic roles & 50–950 ramp
primary
#5B0F1A
secondary
#319586
accent
#EED439
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0303
muted
#7E7878