#5C2147#5C2147
#5C2147 is a dark, moderate pink. Relative luminance 0.038; OKLCH L 35.0% C 0.099 H 343.9°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).
Color values
| HEX | #5C2147 |
|---|---|
| RGB | rgb(92, 33, 71) |
| HSL | hsl(321, 47%, 25%) |
| HSV | hsv(321, 64%, 36%) |
| CMYK | cmyk(0%, 64.1%, 22.8%, 63.9%) |
| CIE-LAB | lab(23.06, 31.76, -10.32) |
| CIE-LCH | lch(23.06, 33.39, 342.00°) |
| OKLab | oklab(34.97% 0.0951 -0.0274) |
| OKLCH | oklch(34.97% 0.099 343.9) |
| XYZ | xyz(6.0950, 3.8185, 6.3761) |
| Luminance | 0.0382 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 3.52
Grape Purple
#5D1451
ΔE00 4.93
Velvet
#750851
ΔE00 6.23
Grape
#6C3461
ΔE00 6.39
Rich Purple
#720058
ΔE00 7.08
Aubergine
#3D0734
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C2147 #215C36
analogous
#54215C #5C2147 #5C212A
triadic
#5C2147 #475C21 #21475C
tetradic
#5C2147 #5C5421 #215C36 #212A5C
square
#5C2147 #5C5421 #215C36 #212A5C
split-complementary
#5C2147 #2A5C21 #215C54
monochromatic
#170811 #2F1124 #5C2147 #89316A #B6418D
Accessibility & contrast
On white
11.91
#5C2147 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#5C2147 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C2147
11.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C2147 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C2147 | 1.00 | 11.91 | 1.76 | 11.91 |
| #FFFFFF | 11.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#263148
Deuteranopia (green-blind)
#373B46
Tritanopia (blue-blind)
#622131
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #5c2147; /* rgb */ color: rgb(92, 33, 71); /* oklch */ color: oklch(35.0% 0.099 343.9);
Tailwind
colors: {
custom: {
50: '#8c607a',
500: '#5c2147',
950: '#000000',
},
}SCSS
$custom: #5c2147; $custom-light: #8c607a; $custom-dark: #000000;
JSON
{
"hex": "#5c2147",
"rgb": {
"r": 92,
"g": 33,
"b": 71
},
"hsl": {
"h": 321.356,
"s": 47.2,
"l": 24.51
},
"oklch": {
"l": 0.34971,
"c": 0.09899,
"h": 343.9
},
"luminance": 0.03818
}Semantic roles & 50–950 ramp
primary
#5C2147
secondary
#499062
accent
#D78151
background
#F8F5F7
surface
#F0EAED
border
#CBC6C8
text
#0C0509
muted
#7D797B