#5B172F#5B172F
#5B172F is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.5% C 0.101 H 3.1°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).
Color values
| HEX | #5B172F |
|---|---|
| RGB | rgb(91, 23, 47) |
| HSL | hsl(339, 60%, 22%) |
| HSV | hsv(339, 75%, 36%) |
| CMYK | cmyk(0%, 74.7%, 48.4%, 64.3%) |
| CIE-LAB | lab(20.21, 32.91, 1.99) |
| CIE-LCH | lch(20.21, 32.97, 3.47°) |
| OKLab | oklab(32.53% 0.1007 0.0055) |
| OKLCH | oklch(32.53% 0.101 3.1) |
| XYZ | xyz(5.1343, 3.0428, 3.0057) |
| Luminance | 0.0304 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.72
Merlot
#730039
ΔE00 5.71
Maroon (survey)
#650021
ΔE00 6.01
Wine (survey)
#80013F
ΔE00 7.75
Bordeaux
#7B002C
ΔE00 7.91
Plum (survey)
#580F41
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B172F #175B43
analogous
#5B1751 #5B172F #5B2117
triadic
#5B172F #2F5B17 #172F5B
tetradic
#5B172F #515B17 #175B43 #21175B
square
#5B172F #515B17 #175B43 #21175B
split-complementary
#5B172F #175B21 #17515B
monochromatic
#18060D #2A0B16 #5B172F #8C2348 #BD3061
Accessibility & contrast
On white
13.06
#5B172F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#5B172F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B172F
13.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B172F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B172F | 1.00 | 13.06 | 1.61 | 13.06 |
| #FFFFFF | 13.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#262830
Deuteranopia (green-blind)
#38362D
Tritanopia (blue-blind)
#630D21
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5b172f; /* rgb */ color: rgb(91, 23, 47); /* oklch */ color: oklch(32.5% 0.101 3.1);
Tailwind
colors: {
custom: {
50: '#8d5a67',
500: '#5b172f',
950: '#000000',
},
}SCSS
$custom: #5b172f; $custom-light: #8d5a67; $custom-dark: #000000;
JSON
{
"hex": "#5b172f",
"rgb": {
"r": 91,
"g": 23,
"b": 47
},
"hsl": {
"h": 338.824,
"s": 59.649,
"l": 22.353
},
"oklch": {
"l": 0.3253,
"c": 0.10083,
"h": 3.1
},
"luminance": 0.03042
}Semantic roles & 50–950 ramp
primary
#5B172F
secondary
#3C9274
accent
#E3AB45
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A