#5B1A2B#5B1A2B
#5B1A2B is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.8% C 0.096 H 8.3°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).
Color values
| HEX | #5B1A2B |
|---|---|
| RGB | rgb(91, 26, 43) |
| HSL | hsl(344, 56%, 23%) |
| HSV | hsv(344, 71%, 36%) |
| CMYK | cmyk(0%, 71.4%, 52.7%, 64.3%) |
| CIE-LAB | lab(20.59, 31.13, 5.34) |
| CIE-LCH | lch(20.59, 31.58, 9.73°) |
| OKLab | oklab(32.77% 0.0947 0.0138) |
| OKLCH | oklch(32.77% 0.096 8.3) |
| XYZ | xyz(5.1202, 3.1380, 2.6211) |
| Luminance | 0.0314 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.17
Maroon (survey)
#650021
ΔE00 4.95
Wine
#722F37
ΔE00 6.87
Merlot
#730039
ΔE00 7.01
Bordeaux
#7B002C
ΔE00 7.29
Claret
#680018
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B1A2B #1A5B4A
analogous
#5B1A4B #5B1A2B #5B291A
triadic
#5B1A2B #2B5B1A #1A2B5B
tetradic
#5B1A2B #4B5B1A #1A5B4A #291A5B
square
#5B1A2B #4B5B1A #1A5B4A #291A5B
split-complementary
#5B1A2B #1A5B29 #1A4B5B
monochromatic
#18070B #2B0C15 #5B1A2B #8B2841 #BA3558
Accessibility & contrast
On white
12.90
#5B1A2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#5B1A2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B1A2B
12.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B1A2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B1A2B | 1.00 | 12.90 | 1.63 | 12.90 |
| #FFFFFF | 12.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29292B
Deuteranopia (green-blind)
#3A3629
Tritanopia (blue-blind)
#641021
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #5b1a2b; /* rgb */ color: rgb(91, 26, 43); /* oklch */ color: oklch(32.8% 0.096 8.3);
Tailwind
colors: {
custom: {
50: '#8d5b64',
500: '#5b1a2b',
950: '#000000',
},
}SCSS
$custom: #5b1a2b; $custom-light: #8d5b64; $custom-dark: #000000;
JSON
{
"hex": "#5b1a2b",
"rgb": {
"r": 91,
"g": 26,
"b": 43
},
"hsl": {
"h": 344.308,
"s": 55.556,
"l": 22.941
},
"oklch": {
"l": 0.32768,
"c": 0.09567,
"h": 8.3
},
"luminance": 0.03137
}Semantic roles & 50–950 ramp
primary
#5B1A2B
secondary
#40917C
accent
#DFB849
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0405
muted
#7E7979