#5C1247#5C1247
#5C1247 is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.2% C 0.121 H 342.0°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).
Color values
| HEX | #5C1247 |
|---|---|
| RGB | rgb(92, 18, 71) |
| HSL | hsl(317, 67%, 22%) |
| HSV | hsv(317, 80%, 36%) |
| CMYK | cmyk(0%, 80.4%, 22.8%, 63.9%) |
| CIE-LAB | lab(20.69, 38.35, -13.97) |
| CIE-LCH | lch(20.69, 40.81, 339.99°) |
| OKLab | oklab(33.23% 0.1152 -0.0375) |
| OKLCH | oklch(33.23% 0.121 342) |
| XYZ | xyz(5.7675, 3.1634, 6.2669) |
| Luminance | 0.0316 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 1.37
Grape Purple
#5D1451
ΔE00 2.65
Velvet
#750851
ΔE00 5.02
Rich Purple
#720058
ΔE00 5.02
Deep Violet
#490648
ΔE00 5.81
Eggplant Purple
#430541
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C1247 #125C27
analogous
#4C125C #5C1247 #5C1222
triadic
#5C1247 #475C12 #12475C
tetradic
#5C1247 #5C4C12 #125C27 #12225C
square
#5C1247 #5C4C12 #125C27 #12225C
split-complementary
#5C1247 #225C12 #125C4C
monochromatic
#1A0514 #29081F #5C1247 #8F1C6F #C22696
Accessibility & contrast
On white
12.86
#5C1247 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#5C1247 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C1247
12.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C1247 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C1247 | 1.00 | 12.86 | 1.63 | 12.86 |
| #FFFFFF | 12.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#192A48
Deuteranopia (green-blind)
#313645
Tritanopia (blue-blind)
#62132B
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #5c1247; /* rgb */ color: rgb(92, 18, 71); /* oklch */ color: oklch(33.2% 0.121 342.0);
Tailwind
colors: {
custom: {
50: '#8d597a',
500: '#5c1247',
950: '#000000',
},
}SCSS
$custom: #5c1247; $custom-light: #8d597a; $custom-dark: #000000;
JSON
{
"hex": "#5c1247",
"rgb": {
"r": 92,
"g": 18,
"b": 71
},
"hsl": {
"h": 317.027,
"s": 67.273,
"l": 21.569
},
"oklch": {
"l": 0.33233,
"c": 0.12113,
"h": 342
},
"luminance": 0.03163
}Semantic roles & 50–950 ramp
primary
#5C1247
secondary
#359450
accent
#EA6F3E
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0D0409
muted
#7D797B