#5D172F#5D172F
#5D172F is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.9% C 0.103 H 4.0°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).
Color values
| HEX | #5D172F |
|---|---|
| RGB | rgb(93, 23, 47) |
| HSL | hsl(339, 60%, 23%) |
| HSV | hsv(339, 75%, 36%) |
| CMYK | cmyk(0%, 75.3%, 49.5%, 63.5%) |
| CIE-LAB | lab(20.62, 33.59, 2.63) |
| CIE-LCH | lch(20.62, 33.69, 4.47°) |
| OKLab | oklab(32.9% 0.1027 0.0071) |
| OKLCH | oklch(32.9% 0.103 4) |
| XYZ | xyz(5.3341, 3.1459, 3.0151) |
| Luminance | 0.0314 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.36
Merlot
#730039
ΔE00 5.45
Maroon (survey)
#650021
ΔE00 5.59
Bordeaux
#7B002C
ΔE00 7.39
Wine (survey)
#80013F
ΔE00 7.41
Wine
#722F37
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D172F #175D45
analogous
#5D1752 #5D172F #5D2217
triadic
#5D172F #2F5D17 #172F5D
tetradic
#5D172F #525D17 #175D45 #22175D
square
#5D172F #525D17 #175D45 #22175D
split-complementary
#5D172F #175D22 #17525D
monochromatic
#19060C #2C0B16 #5D172F #8E2348 #BF2F61
Accessibility & contrast
On white
12.89
#5D172F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#5D172F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5D172F
12.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D172F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D172F | 1.00 | 12.89 | 1.63 | 12.89 |
| #FFFFFF | 12.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#272930
Deuteranopia (green-blind)
#39372D
Tritanopia (blue-blind)
#660C21
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #5d172f; /* rgb */ color: rgb(93, 23, 47); /* oklch */ color: oklch(32.9% 0.103 4.0);
Tailwind
colors: {
custom: {
50: '#8f5a67',
500: '#5d172f',
950: '#000000',
},
}SCSS
$custom: #5d172f; $custom-light: #8f5a67; $custom-dark: #000000;
JSON
{
"hex": "#5d172f",
"rgb": {
"r": 93,
"g": 23,
"b": 47
},
"hsl": {
"h": 339.429,
"s": 60.345,
"l": 22.745
},
"oklch": {
"l": 0.32904,
"c": 0.10295,
"h": 4
},
"luminance": 0.03145
}Semantic roles & 50–950 ramp
primary
#5D172F
secondary
#3C9476
accent
#E3AD44
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A