#5C172B#5C172B
#5C172B is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.6% C 0.101 H 7.3°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).
Color values
| HEX | #5C172B |
|---|---|
| RGB | rgb(92, 23, 43) |
| HSL | hsl(343, 60%, 23%) |
| HSV | hsv(343, 75%, 36%) |
| CMYK | cmyk(0%, 75%, 53.3%, 63.9%) |
| CIE-LAB | lab(20.30, 32.84, 4.95) |
| CIE-LCH | lch(20.30, 33.21, 8.57°) |
| OKLab | oklab(32.59% 0.1 0.0129) |
| OKLCH | oklch(32.59% 0.101 7.3) |
| XYZ | xyz(5.1565, 3.0632, 2.6048) |
| Luminance | 0.0306 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.62
Maroon (survey)
#650021
ΔE00 4.61
Merlot
#730039
ΔE00 6.34
Bordeaux
#7B002C
ΔE00 6.96
Wine
#722F37
ΔE00 7.28
Claret
#680018
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C172B #175C48
analogous
#5C174D #5C172B #5C2617
triadic
#5C172B #2B5C17 #172B5C
tetradic
#5C172B #4D5C17 #175C48 #26175C
square
#5C172B #4D5C17 #175C48 #26175C
split-complementary
#5C172B #175C26 #174D5C
monochromatic
#18060B #2B0B14 #5C172B #8D2342 #BE2F59
Accessibility & contrast
On white
13.02
#5C172B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#5C172B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C172B
13.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C172B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C172B | 1.00 | 13.02 | 1.61 | 13.02 |
| #FFFFFF | 13.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27282B
Deuteranopia (green-blind)
#393629
Tritanopia (blue-blind)
#650A1F
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5c172b; /* rgb */ color: rgb(92, 23, 43); /* oklch */ color: oklch(32.6% 0.101 7.3);
Tailwind
colors: {
custom: {
50: '#8e5a64',
500: '#5c172b',
950: '#000000',
},
}SCSS
$custom: #5c172b; $custom-light: #8e5a64; $custom-dark: #000000;
JSON
{
"hex": "#5c172b",
"rgb": {
"r": 92,
"g": 23,
"b": 43
},
"hsl": {
"h": 342.609,
"s": 60,
"l": 22.549
},
"oklch": {
"l": 0.32587,
"c": 0.10084,
"h": 7.3
},
"luminance": 0.03063
}Semantic roles & 50–950 ramp
primary
#5C172B
secondary
#3C937A
accent
#E3B545
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0405
muted
#7E7979