#5C173F#5C173F
#5C173F is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.3% C 0.109 H 349.0°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).
Color values
| HEX | #5C173F |
|---|---|
| RGB | rgb(92, 23, 63) |
| HSL | hsl(325, 60%, 23%) |
| HSV | hsv(325, 75%, 36%) |
| CMYK | cmyk(0%, 75%, 31.5%, 63.9%) |
| CIE-LAB | lab(21.01, 35.24, -7.97) |
| CIE-LCH | lch(21.01, 36.13, 347.26°) |
| OKLab | oklab(33.35% 0.1073 -0.0209) |
| OKLCH | oklch(33.35% 0.109 349) |
| XYZ | xyz(5.6175, 3.2476, 5.0327) |
| Luminance | 0.0325 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 2.56
Grape Purple
#5D1451
ΔE00 5.67
Velvet
#750851
ΔE00 5.83
Merlot
#730039
ΔE00 6.60
Dark Plum
#3F012C
ΔE00 6.89
Rich Purple
#720058
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C173F #175C34
analogous
#56175C #5C173F #5C171D
triadic
#5C173F #3F5C17 #173F5C
tetradic
#5C173F #5C5617 #175C34 #171D5C
square
#5C173F #5C5617 #175C34 #171D5C
split-complementary
#5C173F #1D5C17 #175C56
monochromatic
#180611 #2B0B1D #5C173F #8D2361 #BE2F82
Accessibility & contrast
On white
12.73
#5C173F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#5C173F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C173F
12.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C173F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C173F | 1.00 | 12.73 | 1.65 | 12.73 |
| #FFFFFF | 12.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#212B40
Deuteranopia (green-blind)
#35373D
Tritanopia (blue-blind)
#631428
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #5c173f; /* rgb */ color: rgb(92, 23, 63); /* oklch */ color: oklch(33.3% 0.109 349.0);
Tailwind
colors: {
custom: {
50: '#8d5b74',
500: '#5c173f',
950: '#000000',
},
}SCSS
$custom: #5c173f; $custom-light: #8d5b74; $custom-dark: #000000;
JSON
{
"hex": "#5c173f",
"rgb": {
"r": 92,
"g": 23,
"b": 63
},
"hsl": {
"h": 325.217,
"s": 60,
"l": 22.549
},
"oklch": {
"l": 0.33348,
"c": 0.1093,
"h": 349
},
"luminance": 0.03247
}Semantic roles & 50–950 ramp
primary
#5C173F
secondary
#3C9360
accent
#E38745
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0D0408
muted
#7D797B