#5C2A4E#5C2A4E
#5C2A4E is a dark, moderate pink. Relative luminance 0.045; OKLCH L 36.7% C 0.088 H 339.1°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).
Color values
| HEX | #5C2A4E |
|---|---|
| RGB | rgb(92, 42, 78) |
| HSL | hsl(317, 37%, 26%) |
| HSV | hsv(317, 54%, 36%) |
| CMYK | cmyk(0%, 54.3%, 15.2%, 63.9%) |
| CIE-LAB | lab(25.20, 28.08, -11.75) |
| CIE-LCH | lch(25.20, 30.44, 337.30°) |
| OKLab | oklab(36.66% 0.0824 -0.0315) |
| OKLCH | oklch(36.66% 0.088 339.1) |
| XYZ | xyz(6.6168, 4.4818, 7.7228) |
| Luminance | 0.0448 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Grape
#6C3461
ΔE00 4.70
Plum (survey)
#580F41
ΔE00 5.73
Grape Purple
#5D1451
ΔE00 5.78
Velvet
#750851
ΔE00 7.62
Rich Purple
#720058
ΔE00 8.15
Deep Violet
#490648
ΔE00 9.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C2A4E #2A5C38
analogous
#512A5C #5C2A4E #5C2A35
triadic
#5C2A4E #4E5C2A #2A4E5C
tetradic
#5C2A4E #5C512A #2A5C38 #2A355C
square
#5C2A4E #5C512A #2A5C38 #2A355C
split-complementary
#5C2A4E #355C2A #2A5C51
monochromatic
#150A12 #32172A #5C2A4E #863D72 #B05195
Accessibility & contrast
On white
11.07
#5C2A4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#5C2A4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C2A4E
11.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C2A4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C2A4E | 1.00 | 11.07 | 1.90 | 11.07 |
| #FFFFFF | 11.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C374F
Deuteranopia (green-blind)
#3A3F4D
Tritanopia (blue-blind)
#612B38
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #5c2a4e; /* rgb */ color: rgb(92, 42, 78); /* oklch */ color: oklch(36.7% 0.088 339.1);
Tailwind
colors: {
custom: {
50: '#8c667f',
500: '#5c2a4e',
950: '#000000',
},
}SCSS
$custom: #5c2a4e; $custom-light: #8c667f; $custom-dark: #000000;
JSON
{
"hex": "#5c2a4e",
"rgb": {
"r": 92,
"g": 42,
"b": 78
},
"hsl": {
"h": 316.8,
"s": 37.313,
"l": 26.275
},
"oklch": {
"l": 0.3666,
"c": 0.08826,
"h": 339.1
},
"luminance": 0.04481
}Semantic roles & 50–950 ramp
primary
#5C2A4E
secondary
#538E64
accent
#CD7B5B
background
#F8F6F7
surface
#F0EBEE
border
#CBC6C9
text
#0C060A
muted
#7D7A7C