#5B162D#5B162D
#5B162D is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.3% C 0.102 H 4.7°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).
Color values
| HEX | #5B162D |
|---|---|
| RGB | rgb(91, 22, 45) |
| HSL | hsl(340, 61%, 22%) |
| HSV | hsv(340, 76%, 36%) |
| CMYK | cmyk(0%, 75.8%, 50.5%, 64.3%) |
| CIE-LAB | lab(20.00, 33.13, 3.09) |
| CIE-LCH | lch(20.00, 33.27, 5.33°) |
| OKLab | oklab(32.35% 0.1012 0.0083) |
| OKLCH | oklch(32.35% 0.102 4.7) |
| XYZ | xyz(5.0754, 2.9881, 2.7916) |
| Luminance | 0.0299 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.15
Maroon (survey)
#650021
ΔE00 5.40
Merlot
#730039
ΔE00 5.86
Bordeaux
#7B002C
ΔE00 7.53
Wine (survey)
#80013F
ΔE00 7.86
Wine
#722F37
ΔE00 8.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B162D #165B44
analogous
#5B1650 #5B162D #5B2216
triadic
#5B162D #2D5B16 #162D5B
tetradic
#5B162D #505B16 #165B44 #22165B
square
#5B162D #505B16 #165B44 #22165B
split-complementary
#5B162D #165B22 #16505B
monochromatic
#19060C #2A0A15 #5B162D #8C2245 #BE2E5E
Accessibility & contrast
On white
13.15
#5B162D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#5B162D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B162D
13.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B162D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B162D | 1.00 | 13.15 | 1.60 | 13.15 |
| #FFFFFF | 13.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26282E
Deuteranopia (green-blind)
#38352B
Tritanopia (blue-blind)
#630A1F
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5b162d; /* rgb */ color: rgb(91, 22, 45); /* oklch */ color: oklch(32.3% 0.102 4.7);
Tailwind
colors: {
custom: {
50: '#8d5965',
500: '#5b162d',
950: '#000000',
},
}SCSS
$custom: #5b162d; $custom-light: #8d5965; $custom-dark: #000000;
JSON
{
"hex": "#5b162d",
"rgb": {
"r": 91,
"g": 22,
"b": 45
},
"hsl": {
"h": 340,
"s": 61.062,
"l": 22.157
},
"oklch": {
"l": 0.32348,
"c": 0.10157,
"h": 4.7
},
"luminance": 0.02987
}Semantic roles & 50–950 ramp
primary
#5B162D
secondary
#3B9275
accent
#E4AF44
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0405
muted
#7E797A