#5B172B#5B172B
#5B172B is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.4% C 0.100 H 7.0°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).
Color values
| HEX | #5B172B |
|---|---|
| RGB | rgb(91, 23, 43) |
| HSL | hsl(342, 60%, 22%) |
| HSV | hsv(342, 75%, 36%) |
| CMYK | cmyk(0%, 74.7%, 52.7%, 64.3%) |
| CIE-LAB | lab(20.09, 32.49, 4.63) |
| CIE-LCH | lch(20.09, 32.82, 8.12°) |
| OKLab | oklab(32.4% 0.099 0.0121) |
| OKLCH | oklch(32.4% 0.1 7) |
| XYZ | xyz(5.0572, 3.0120, 2.6001) |
| Luminance | 0.0301 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.78
Maroon (survey)
#650021
ΔE00 4.81
Merlot
#730039
ΔE00 6.42
Bordeaux
#7B002C
ΔE00 7.20
Wine
#722F37
ΔE00 7.46
Claret
#680018
ΔE00 8.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B172B #175B47
analogous
#5B174D #5B172B #5B2517
triadic
#5B172B #2B5B17 #172B5B
tetradic
#5B172B #4D5B17 #175B47 #25175B
square
#5B172B #4D5B17 #175B47 #25175B
split-complementary
#5B172B #175B25 #174D5B
monochromatic
#18060C #2A0B14 #5B172B #8C2342 #BD3059
Accessibility & contrast
On white
13.11
#5B172B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#5B172B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B172B
13.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B172B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B172B | 1.00 | 13.11 | 1.60 | 13.11 |
| #FFFFFF | 13.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27282B
Deuteranopia (green-blind)
#393529
Tritanopia (blue-blind)
#640B1F
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5b172b; /* rgb */ color: rgb(91, 23, 43); /* oklch */ color: oklch(32.4% 0.100 7.0);
Tailwind
colors: {
custom: {
50: '#8e5a64',
500: '#5b172b',
950: '#000000',
},
}SCSS
$custom: #5b172b; $custom-light: #8e5a64; $custom-dark: #000000;
JSON
{
"hex": "#5b172b",
"rgb": {
"r": 91,
"g": 23,
"b": 43
},
"hsl": {
"h": 342.353,
"s": 59.649,
"l": 22.353
},
"oklch": {
"l": 0.32399,
"c": 0.09975,
"h": 7
},
"luminance": 0.03011
}Semantic roles & 50–950 ramp
primary
#5B172B
secondary
#3C9279
accent
#E3B445
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0405
muted
#7E7979