#5B162B#5B162B
#5B162B is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.3% C 0.101 H 6.6°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).
Color values
| HEX | #5B162B |
|---|---|
| RGB | rgb(91, 22, 43) |
| HSL | hsl(342, 61%, 22%) |
| HSV | hsv(342, 76%, 36%) |
| CMYK | cmyk(0%, 75.8%, 52.7%, 64.3%) |
| CIE-LAB | lab(19.94, 32.92, 4.41) |
| CIE-LCH | lch(19.94, 33.22, 7.63°) |
| OKLab | oklab(32.28% 0.1004 0.0115) |
| OKLCH | oklch(32.28% 0.101 6.6) |
| XYZ | xyz(5.0378, 2.9730, 2.5936) |
| Luminance | 0.0297 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.69
Maroon (survey)
#650021
ΔE00 4.80
Merlot
#730039
ΔE00 6.25
Bordeaux
#7B002C
ΔE00 7.20
Wine
#722F37
ΔE00 7.66
Wine (survey)
#80013F
ΔE00 8.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B162B #165B46
analogous
#5B164E #5B162B #5B2416
triadic
#5B162B #2B5B16 #162B5B
tetradic
#5B162B #4E5B16 #165B46 #24165B
square
#5B162B #4E5B16 #165B46 #24165B
split-complementary
#5B162B #165B24 #164E5B
monochromatic
#19060C #2A0A14 #5B162B #8C2242 #BE2E5A
Accessibility & contrast
On white
13.17
#5B162B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#5B162B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B162B
13.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B162B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B162B | 1.00 | 13.17 | 1.59 | 13.17 |
| #FFFFFF | 13.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26272B
Deuteranopia (green-blind)
#383529
Tritanopia (blue-blind)
#64091F
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5b162b; /* rgb */ color: rgb(91, 22, 43); /* oklch */ color: oklch(32.3% 0.101 6.6);
Tailwind
colors: {
custom: {
50: '#8e5964',
500: '#5b162b',
950: '#000000',
},
}SCSS
$custom: #5b162b; $custom-light: #8e5964; $custom-dark: #000000;
JSON
{
"hex": "#5b162b",
"rgb": {
"r": 91,
"g": 22,
"b": 43
},
"hsl": {
"h": 341.739,
"s": 61.062,
"l": 22.157
},
"oklch": {
"l": 0.32283,
"c": 0.10105,
"h": 6.6
},
"luminance": 0.02972
}Semantic roles & 50–950 ramp
primary
#5B162B
secondary
#3B9278
accent
#E4B344
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0405
muted
#7E7979