#5B172E#5B172E
#5B172E is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.5% C 0.101 H 4.1°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).
Color values
| HEX | #5B172E |
|---|---|
| RGB | rgb(91, 23, 46) |
| HSL | hsl(340, 60%, 22%) |
| HSV | hsv(340, 75%, 36%) |
| CMYK | cmyk(0%, 74.7%, 49.5%, 64.3%) |
| CIE-LAB | lab(20.18, 32.80, 2.65) |
| CIE-LCH | lch(20.18, 32.91, 4.62°) |
| OKLab | oklab(32.5% 0.1003 0.0072) |
| OKLCH | oklch(32.5% 0.101 4.1) |
| XYZ | xyz(5.1143, 3.0348, 2.9007) |
| Luminance | 0.0303 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.45
Maroon (survey)
#650021
ΔE00 5.69
Merlot
#730039
ΔE00 5.85
Bordeaux
#7B002C
ΔE00 7.71
Wine (survey)
#80013F
ΔE00 7.85
Wine
#722F37
ΔE00 8.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B172E #175B44
analogous
#5B1750 #5B172E #5B2217
triadic
#5B172E #2E5B17 #172E5B
tetradic
#5B172E #505B17 #175B44 #22175B
square
#5B172E #505B17 #175B44 #22175B
split-complementary
#5B172E #175B22 #17505B
monochromatic
#18060C #2A0B15 #5B172E #8C2347 #BD305F
Accessibility & contrast
On white
13.07
#5B172E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#5B172E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B172E
13.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B172E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B172E | 1.00 | 13.07 | 1.61 | 13.07 |
| #FFFFFF | 13.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26282F
Deuteranopia (green-blind)
#38362C
Tritanopia (blue-blind)
#630C20
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5b172e; /* rgb */ color: rgb(91, 23, 46); /* oklch */ color: oklch(32.5% 0.101 4.1);
Tailwind
colors: {
custom: {
50: '#8d5a66',
500: '#5b172e',
950: '#000000',
},
}SCSS
$custom: #5b172e; $custom-light: #8d5a66; $custom-dark: #000000;
JSON
{
"hex": "#5b172e",
"rgb": {
"r": 91,
"g": 23,
"b": 46
},
"hsl": {
"h": 339.706,
"s": 59.649,
"l": 22.353
},
"oklch": {
"l": 0.32496,
"c": 0.10052,
"h": 4.1
},
"luminance": 0.03034
}Semantic roles & 50–950 ramp
primary
#5B172E
secondary
#3C9275
accent
#E3AD45
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0405
muted
#7E797A