#5C172F#5C172F
#5C172F is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.7% C 0.102 H 3.5°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).
Color values
| HEX | #5C172F |
|---|---|
| RGB | rgb(92, 23, 47) |
| HSL | hsl(339, 60%, 23%) |
| HSV | hsv(339, 75%, 36%) |
| CMYK | cmyk(0%, 75%, 48.9%, 63.9%) |
| CIE-LAB | lab(20.42, 33.25, 2.31) |
| CIE-LCH | lch(20.42, 33.33, 3.98°) |
| OKLab | oklab(32.72% 0.1017 0.0063) |
| OKLCH | oklch(32.72% 0.102 3.5) |
| XYZ | xyz(5.2335, 3.0940, 3.0104) |
| Luminance | 0.0309 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.53
Merlot
#730039
ΔE00 5.57
Maroon (survey)
#650021
ΔE00 5.79
Wine (survey)
#80013F
ΔE00 7.58
Bordeaux
#7B002C
ΔE00 7.65
Wine
#722F37
ΔE00 8.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C172F #175C44
analogous
#5C1752 #5C172F #5C2117
triadic
#5C172F #2F5C17 #172F5C
tetradic
#5C172F #525C17 #175C44 #21175C
square
#5C172F #525C17 #175C44 #21175C
split-complementary
#5C172F #175C21 #17525C
monochromatic
#18060D #2B0B16 #5C172F #8D2348 #BE2F61
Accessibility & contrast
On white
12.97
#5C172F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#5C172F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C172F
12.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C172F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C172F | 1.00 | 12.97 | 1.62 | 12.97 |
| #FFFFFF | 12.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#262930
Deuteranopia (green-blind)
#38362D
Tritanopia (blue-blind)
#640C21
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5c172f; /* rgb */ color: rgb(92, 23, 47); /* oklch */ color: oklch(32.7% 0.102 3.5);
Tailwind
colors: {
custom: {
50: '#8e5a67',
500: '#5c172f',
950: '#000000',
},
}SCSS
$custom: #5c172f; $custom-light: #8e5a67; $custom-dark: #000000;
JSON
{
"hex": "#5c172f",
"rgb": {
"r": 92,
"g": 23,
"b": 47
},
"hsl": {
"h": 339.13,
"s": 60,
"l": 22.549
},
"oklch": {
"l": 0.32717,
"c": 0.10188,
"h": 3.5
},
"luminance": 0.03093
}Semantic roles & 50–950 ramp
primary
#5C172F
secondary
#3C9375
accent
#E3AC45
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A