#5B172D#5B172D
#5B172D is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.5% C 0.100 H 5.0°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).
Color values
| HEX | #5B172D |
|---|---|
| RGB | rgb(91, 23, 45) |
| HSL | hsl(341, 60%, 22%) |
| HSV | hsv(341, 75%, 36%) |
| CMYK | cmyk(0%, 74.7%, 50.5%, 64.3%) |
| CIE-LAB | lab(20.15, 32.70, 3.31) |
| CIE-LCH | lch(20.15, 32.86, 5.78°) |
| OKLab | oklab(32.46% 0.0999 0.0088) |
| OKLCH | oklch(32.46% 0.1 5) |
| XYZ | xyz(5.0948, 3.0271, 2.7981) |
| Luminance | 0.0303 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.20
Maroon (survey)
#650021
ΔE00 5.38
Merlot
#730039
ΔE00 6.02
Bordeaux
#7B002C
ΔE00 7.52
Wine
#722F37
ΔE00 7.85
Wine (survey)
#80013F
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B172D #175B45
analogous
#5B174F #5B172D #5B2317
triadic
#5B172D #2D5B17 #172D5B
tetradic
#5B172D #4F5B17 #175B45 #23175B
square
#5B172D #4F5B17 #175B45 #23175B
split-complementary
#5B172D #175B23 #174F5B
monochromatic
#18060C #2A0B15 #5B172D #8C2345 #BD305D
Accessibility & contrast
On white
13.08
#5B172D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#5B172D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B172D
13.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B172D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B172D | 1.00 | 13.08 | 1.61 | 13.08 |
| #FFFFFF | 13.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26282E
Deuteranopia (green-blind)
#38362B
Tritanopia (blue-blind)
#630C20
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5b172d; /* rgb */ color: rgb(91, 23, 45); /* oklch */ color: oklch(32.5% 0.100 5.0);
Tailwind
colors: {
custom: {
50: '#8d5a65',
500: '#5b172d',
950: '#000000',
},
}SCSS
$custom: #5b172d; $custom-light: #8d5a65; $custom-dark: #000000;
JSON
{
"hex": "#5b172d",
"rgb": {
"r": 91,
"g": 23,
"b": 45
},
"hsl": {
"h": 340.588,
"s": 59.649,
"l": 22.353
},
"oklch": {
"l": 0.32463,
"c": 0.10024,
"h": 5
},
"luminance": 0.03026
}Semantic roles & 50–950 ramp
primary
#5B172D
secondary
#3C9276
accent
#E3B045
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0405
muted
#7E797A