#5C154A#5C154A
#5C154A is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.7% C 0.120 H 340.0°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).
Color values
| HEX | #5C154A |
|---|---|
| RGB | rgb(92, 21, 74) |
| HSL | hsl(315, 63%, 22%) |
| HSV | hsv(315, 77%, 36%) |
| CMYK | cmyk(0%, 77.2%, 19.6%, 63.9%) |
| CIE-LAB | lab(21.23, 37.69, -15.17) |
| CIE-LCH | lch(21.23, 40.63, 338.07°) |
| OKLab | oklab(33.68% 0.1123 -0.0409) |
| OKLCH | oklch(33.68% 0.12 340) |
| XYZ | xyz(5.9180, 3.3066, 6.8038) |
| Luminance | 0.0331 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Grape Purple
#5D1451
ΔE00 1.97
Plum (survey)
#580F41
ΔE00 2.08
Rich Purple
#720058
ΔE00 4.90
Velvet
#750851
ΔE00 5.17
Deep Violet
#490648
ΔE00 5.53
Plum Purple
#4E0550
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C154A #155C27
analogous
#4B155C #5C154A #5C1527
triadic
#5C154A #4A5C15 #154A5C
tetradic
#5C154A #5C4B15 #155C27 #15275C
square
#5C154A #5C4B15 #155C27 #15275C
split-complementary
#5C154A #275C15 #155C4B
monochromatic
#190614 #2A0A22 #5C154A #8E2072 #C02C9A
Accessibility & contrast
On white
12.64
#5C154A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#5C154A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C154A
12.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C154A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C154A | 1.00 | 12.64 | 1.66 | 12.64 |
| #FFFFFF | 12.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A2C4B
Deuteranopia (green-blind)
#313748
Tritanopia (blue-blind)
#62172D
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #5c154a; /* rgb */ color: rgb(92, 21, 74); /* oklch */ color: oklch(33.7% 0.120 340.0);
Tailwind
colors: {
custom: {
50: '#8d5a7c',
500: '#5c154a',
950: '#000000',
},
}SCSS
$custom: #5c154a; $custom-light: #8d5a7c; $custom-dark: #000000;
JSON
{
"hex": "#5c154a",
"rgb": {
"r": 92,
"g": 21,
"b": 74
},
"hsl": {
"h": 315.211,
"s": 62.832,
"l": 22.157
},
"oklch": {
"l": 0.33677,
"c": 0.11952,
"h": 340
},
"luminance": 0.03306
}Semantic roles & 50–950 ramp
primary
#5C154A
secondary
#399350
accent
#E66B42
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C0409
muted
#7D797B