#5C173A#5C173A
#5C173A is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.1% C 0.106 H 353.4°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).
Color values
| HEX | #5C173A |
|---|---|
| RGB | rgb(92, 23, 58) |
| HSL | hsl(330, 60%, 23%) |
| HSV | hsv(330, 75%, 36%) |
| CMYK | cmyk(0%, 75%, 37%, 63.9%) |
| CIE-LAB | lab(20.81, 34.56, -4.81) |
| CIE-LCH | lch(20.81, 34.90, 352.08°) |
| OKLab | oklab(33.13% 0.1058 -0.0123) |
| OKLCH | oklch(33.13% 0.106 353.4) |
| XYZ | xyz(5.4841, 3.1942, 4.3299) |
| Luminance | 0.0319 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 4.10
Merlot
#730039
ΔE00 5.72
Velvet
#750851
ΔE00 6.79
Dark Plum
#3F012C
ΔE00 7.28
Grape Purple
#5D1451
ΔE00 7.39
Red Purple
#820747
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C173A #175C39
analogous
#5B175C #5C173A #5C1718
triadic
#5C173A #3A5C17 #173A5C
tetradic
#5C173A #5C5B17 #175C39 #17185C
square
#5C173A #5C5B17 #175C39 #17185C
split-complementary
#5C173A #185C17 #175C5B
monochromatic
#18060F #2B0B1B #5C173A #8D2359 #BE2F78
Accessibility & contrast
On white
12.81
#5C173A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#5C173A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C173A
12.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C173A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C173A | 1.00 | 12.81 | 1.64 | 12.81 |
| #FFFFFF | 12.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#232A3B
Deuteranopia (green-blind)
#363738
Tritanopia (blue-blind)
#641226
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #5c173a; /* rgb */ color: rgb(92, 23, 58); /* oklch */ color: oklch(33.1% 0.106 353.4);
Tailwind
colors: {
custom: {
50: '#8d5a70',
500: '#5c173a',
950: '#000000',
},
}SCSS
$custom: #5c173a; $custom-light: #8d5a70; $custom-dark: #000000;
JSON
{
"hex": "#5c173a",
"rgb": {
"r": 92,
"g": 23,
"b": 58
},
"hsl": {
"h": 329.565,
"s": 60,
"l": 22.549
},
"oklch": {
"l": 0.33131,
"c": 0.10647,
"h": 353.4
},
"luminance": 0.03194
}Semantic roles & 50–950 ramp
primary
#5C173A
secondary
#3C9367
accent
#E39345
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A