#5B172A#5B172A
#5B172A is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.4% C 0.100 H 7.9°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).
Color values
| HEX | #5B172A |
|---|---|
| RGB | rgb(91, 23, 42) |
| HSL | hsl(343, 60%, 22%) |
| HSV | hsv(343, 75%, 36%) |
| CMYK | cmyk(0%, 74.7%, 53.8%, 64.3%) |
| CIE-LAB | lab(20.06, 32.39, 5.30) |
| CIE-LCH | lch(20.06, 32.82, 9.29°) |
| OKLab | oklab(32.37% 0.0986 0.0137) |
| OKLCH | oklch(32.37% 0.1 7.9) |
| XYZ | xyz(5.0391, 3.0048, 2.5047) |
| Luminance | 0.0300 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.63
Maroon (survey)
#650021
ΔE00 4.56
Merlot
#730039
ΔE00 6.66
Bordeaux
#7B002C
ΔE00 7.08
Wine
#722F37
ΔE00 7.30
Claret
#680018
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B172A #175B48
analogous
#5B174C #5B172A #5B2617
triadic
#5B172A #2A5B17 #172A5B
tetradic
#5B172A #4C5B17 #175B48 #26175B
square
#5B172A #4C5B17 #175B48 #26175B
split-complementary
#5B172A #175B26 #174C5B
monochromatic
#18060B #2A0B13 #5B172A #8C2341 #BD3057
Accessibility & contrast
On white
13.12
#5B172A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#5B172A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B172A
13.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B172A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B172A | 1.00 | 13.12 | 1.60 | 13.12 |
| #FFFFFF | 13.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27282A
Deuteranopia (green-blind)
#393528
Tritanopia (blue-blind)
#640B1F
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5b172a; /* rgb */ color: rgb(91, 23, 42); /* oklch */ color: oklch(32.4% 0.100 7.9);
Tailwind
colors: {
custom: {
50: '#8e5a63',
500: '#5b172a',
950: '#000000',
},
}SCSS
$custom: #5b172a; $custom-light: #8e5a63; $custom-dark: #000000;
JSON
{
"hex": "#5b172a",
"rgb": {
"r": 91,
"g": 23,
"b": 42
},
"hsl": {
"h": 343.235,
"s": 59.649,
"l": 22.353
},
"oklch": {
"l": 0.32368,
"c": 0.09953,
"h": 7.9
},
"luminance": 0.03004
}Semantic roles & 50–950 ramp
primary
#5B172A
secondary
#3C927A
accent
#E3B745
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0405
muted
#7E7979