#5C1F4E#5C1F4E
#5C1F4E is a dark, moderate pink. Relative luminance 0.038; OKLCH L 35.0% C 0.108 H 337.7°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).
Color values
| HEX | #5C1F4E |
|---|---|
| RGB | rgb(92, 31, 78) |
| HSL | hsl(314, 50%, 24%) |
| HSV | hsv(314, 66%, 36%) |
| CMYK | cmyk(0%, 66.3%, 15.2%, 63.9%) |
| CIE-LAB | lab(23.02, 33.94, -15.11) |
| CIE-LCH | lch(23.02, 37.15, 336.00°) |
| OKLab | oklab(35.05% 0.0998 -0.0409) |
| OKLCH | oklch(35.05% 0.108 337.7) |
| XYZ | xyz(6.2789, 3.8059, 7.6102) |
| Luminance | 0.0381 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Grape Purple
#5D1451
ΔE00 2.70
Plum (survey)
#580F41
ΔE00 3.54
Rich Purple
#720058
ΔE00 5.76
Grape
#6C3461
ΔE00 5.81
Velvet
#750851
ΔE00 5.92
Deep Violet
#490648
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C1F4E #1F5C2D
analogous
#4C1F5C #5C1F4E #5C1F30
triadic
#5C1F4E #4E5C1F #1F4E5C
tetradic
#5C1F4E #5C4C1F #1F5C2D #1F305C
square
#5C1F4E #5C4C1F #1F5C2D #1F305C
split-complementary
#5C1F4E #305C1F #1F5C4C
monochromatic
#170813 #2E1027 #5C1F4E #8A2E75 #B83E9C
Accessibility & contrast
On white
11.93
#5C1F4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#5C1F4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C1F4E
11.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C1F4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C1F4E | 1.00 | 11.93 | 1.76 | 11.93 |
| #FFFFFF | 11.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#21314F
Deuteranopia (green-blind)
#343A4C
Tritanopia (blue-blind)
#612233
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #5c1f4e; /* rgb */ color: rgb(92, 31, 78); /* oklch */ color: oklch(35.0% 0.108 337.7);
Tailwind
colors: {
custom: {
50: '#8c5f7f',
500: '#5c1f4e',
950: '#000000',
},
}SCSS
$custom: #5c1f4e; $custom-light: #8c5f7f; $custom-dark: #000000;
JSON
{
"hex": "#5c1f4e",
"rgb": {
"r": 92,
"g": 31,
"b": 78
},
"hsl": {
"h": 313.77,
"s": 49.593,
"l": 24.118
},
"oklch": {
"l": 0.35045,
"c": 0.10784,
"h": 337.7
},
"luminance": 0.03805
}Semantic roles & 50–950 ramp
primary
#5C1F4E
secondary
#469157
accent
#D96E4F
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C050A
muted
#7D797C