#5B0F1B#5B0F1B
#5B0F1B is a dark, moderate red. Relative luminance 0.026; OKLCH L 31.1% C 0.107 H 17.9°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).
Color values
| HEX | #5B0F1B |
|---|---|
| RGB | rgb(91, 15, 27) |
| HSL | hsl(351, 72%, 21%) |
| HSV | hsv(351, 84%, 36%) |
| CMYK | cmyk(0%, 83.5%, 70.3%, 64.3%) |
| CIE-LAB | lab(18.56, 34.32, 13.87) |
| CIE-LCH | lch(18.56, 37.02, 22.01°) |
| OKLab | oklab(31.14% 0.102 0.0331) |
| OKLCH | oklch(31.14% 0.107 17.9) |
| XYZ | xyz(4.6835, 2.6456, 1.3007) |
| Luminance | 0.0265 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.41
Maroon (survey)
#650021
ΔE00 3.82
Burgundy (survey)
#610023
ΔE00 4.71
Dried Blood
#4B0101
ΔE00 5.50
Mahogany
#4A0100
ΔE00 5.70
Rosewood
#65000B
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B0F1B #0F5B4F
analogous
#5B0F41 #5B0F1B #5B290F
triadic
#5B0F1B #1B5B0F #0F1B5B
tetradic
#5B0F1B #415B0F #0F5B4F #290F5B
square
#5B0F1B #415B0F #0F5B4F #290F5B
split-complementary
#5B0F1B #0F5B29 #0F415B
monochromatic
#1A0408 #26060B #5B0F1B #90182B #C4203A
Accessibility & contrast
On white
13.73
#5B0F1B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#5B0F1B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B0F1B
13.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B0F1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B0F1B | 1.00 | 13.73 | 1.53 | 13.73 |
| #FFFFFF | 13.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25231B
Deuteranopia (green-blind)
#383319
Tritanopia (blue-blind)
#650014
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #5b0f1b; /* rgb */ color: rgb(91, 15, 27); /* oklch */ color: oklch(31.1% 0.107 17.9);
Tailwind
colors: {
custom: {
50: '#8f5657',
500: '#5b0f1b',
950: '#000000',
},
}SCSS
$custom: #5b0f1b; $custom-light: #8f5657; $custom-dark: #000000;
JSON
{
"hex": "#5b0f1b",
"rgb": {
"r": 91,
"g": 15,
"b": 27
},
"hsl": {
"h": 350.526,
"s": 71.698,
"l": 20.784
},
"oklch": {
"l": 0.31138,
"c": 0.10725,
"h": 17.9
},
"luminance": 0.02645
}Semantic roles & 50–950 ramp
primary
#5B0F1B
secondary
#319585
accent
#EED239
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0303
muted
#7E7878