#5C172A#5C172A
#5C172A is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.6% C 0.101 H 8.3°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).
Color values
| HEX | #5C172A |
|---|---|
| RGB | rgb(92, 23, 42) |
| HSL | hsl(343, 60%, 23%) |
| HSV | hsv(343, 75%, 36%) |
| CMYK | cmyk(0%, 75%, 54.3%, 63.9%) |
| CIE-LAB | lab(20.27, 32.74, 5.61) |
| CIE-LCH | lch(20.27, 33.22, 9.73°) |
| OKLab | oklab(32.56% 0.0996 0.0145) |
| OKLCH | oklch(32.56% 0.101 8.3) |
| XYZ | xyz(5.1384, 3.0560, 2.5093) |
| Luminance | 0.0306 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.48
Maroon (survey)
#650021
ΔE00 4.35
Merlot
#730039
ΔE00 6.60
Bordeaux
#7B002C
ΔE00 6.83
Wine
#722F37
ΔE00 7.12
Claret
#680018
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C172A #175C49
analogous
#5C174D #5C172A #5C2617
triadic
#5C172A #2A5C17 #172A5C
tetradic
#5C172A #4D5C17 #175C49 #26175C
square
#5C172A #4D5C17 #175C49 #26175C
split-complementary
#5C172A #175C26 #174D5C
monochromatic
#18060B #2B0B14 #5C172A #8D2340 #BE2F57
Accessibility & contrast
On white
13.04
#5C172A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#5C172A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C172A
13.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C172A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C172A | 1.00 | 13.04 | 1.61 | 13.04 |
| #FFFFFF | 13.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27282A
Deuteranopia (green-blind)
#393628
Tritanopia (blue-blind)
#650A1F
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5c172a; /* rgb */ color: rgb(92, 23, 42); /* oklch */ color: oklch(32.6% 0.101 8.3);
Tailwind
colors: {
custom: {
50: '#8e5a63',
500: '#5c172a',
950: '#000000',
},
}SCSS
$custom: #5c172a; $custom-light: #8e5a63; $custom-dark: #000000;
JSON
{
"hex": "#5c172a",
"rgb": {
"r": 92,
"g": 23,
"b": 42
},
"hsl": {
"h": 343.478,
"s": 60,
"l": 22.549
},
"oklch": {
"l": 0.32557,
"c": 0.10064,
"h": 8.3
},
"luminance": 0.03055
}Semantic roles & 50–950 ramp
primary
#5C172A
secondary
#3C937B
accent
#E3B845
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0405
muted
#7E7979