#5B173A#5B173A
#5B173A is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.9% C 0.106 H 352.8°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).
Color values
| HEX | #5B173A |
|---|---|
| RGB | rgb(91, 23, 58) |
| HSL | hsl(329, 60%, 22%) |
| HSV | hsv(329, 75%, 36%) |
| CMYK | cmyk(0%, 74.7%, 36.3%, 64.3%) |
| CIE-LAB | lab(20.61, 34.24, -5.12) |
| CIE-LCH | lch(20.61, 34.62, 351.49°) |
| OKLab | oklab(32.95% 0.1047 -0.0131) |
| OKLCH | oklch(32.95% 0.106 352.8) |
| XYZ | xyz(5.3848, 3.1430, 4.3253) |
| Luminance | 0.0314 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 3.92
Merlot
#730039
ΔE00 5.96
Velvet
#750851
ΔE00 6.86
Dark Plum
#3F012C
ΔE00 7.06
Grape Purple
#5D1451
ΔE00 7.25
Red Purple
#820747
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B173A #175B38
analogous
#5A175B #5B173A #5B1718
triadic
#5B173A #3A5B17 #173A5B
tetradic
#5B173A #5B5A17 #175B38 #17185B
square
#5B173A #5B5A17 #175B38 #17185B
split-complementary
#5B173A #185B17 #175B5A
monochromatic
#180610 #2A0B1B #5B173A #8C2359 #BD3078
Accessibility & contrast
On white
12.90
#5B173A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#5B173A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B173A
12.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B173A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B173A | 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)
#222A3B
Deuteranopia (green-blind)
#353638
Tritanopia (blue-blind)
#621226
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #5b173a; /* rgb */ color: rgb(91, 23, 58); /* oklch */ color: oklch(32.9% 0.106 352.8);
Tailwind
colors: {
custom: {
50: '#8d5a70',
500: '#5b173a',
950: '#000000',
},
}SCSS
$custom: #5b173a; $custom-light: #8d5a70; $custom-dark: #000000;
JSON
{
"hex": "#5b173a",
"rgb": {
"r": 91,
"g": 23,
"b": 58
},
"hsl": {
"h": 329.118,
"s": 59.649,
"l": 22.353
},
"oklch": {
"l": 0.32949,
"c": 0.10553,
"h": 352.8
},
"luminance": 0.03142
}Semantic roles & 50–950 ramp
primary
#5B173A
secondary
#3C9266
accent
#E39245
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0407
muted
#7D797A