#5C1140#5C1140
#5C1140 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.8% C 0.118 H 347.2°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).
Color values
| HEX | #5C1140 |
|---|---|
| RGB | rgb(92, 17, 64) |
| HSL | hsl(322, 69%, 21%) |
| HSV | hsv(322, 82%, 36%) |
| CMYK | cmyk(0%, 81.5%, 30.4%, 63.9%) |
| CIE-LAB | lab(20.23, 37.69, -9.84) |
| CIE-LCH | lch(20.23, 38.96, 345.37°) |
| OKLab | oklab(32.79% 0.1148 -0.026) |
| OKLCH | oklch(32.79% 0.118 347.2) |
| XYZ | xyz(5.5398, 3.0470, 5.1459) |
| Luminance | 0.0305 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 1.43
Grape Purple
#5D1451
ΔE00 4.77
Velvet
#750851
ΔE00 5.29
Rich Purple
#720058
ΔE00 6.23
Dark Plum
#3F012C
ΔE00 6.45
Merlot
#730039
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C1140 #115C2D
analogous
#53115C #5C1140 #5C111B
triadic
#5C1140 #405C11 #11405C
tetradic
#5C1140 #5C5311 #115C2D #111B5C
square
#5C1140 #5C5311 #115C2D #111B5C
split-complementary
#5C1140 #1B5C11 #115C53
monochromatic
#1A0512 #28071C #5C1140 #901B64 #C32488
Accessibility & contrast
On white
13.05
#5C1140 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#5C1140 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C1140
13.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C1140 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C1140 | 1.00 | 13.05 | 1.61 | 13.05 |
| #FFFFFF | 13.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C2941
Deuteranopia (green-blind)
#32353E
Tritanopia (blue-blind)
#630E27
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5c1140; /* rgb */ color: rgb(92, 17, 64); /* oklch */ color: oklch(32.8% 0.118 347.2);
Tailwind
colors: {
custom: {
50: '#8d5874',
500: '#5c1140',
950: '#000000',
},
}SCSS
$custom: #5c1140; $custom-light: #8d5874; $custom-dark: #000000;
JSON
{
"hex": "#5c1140",
"rgb": {
"r": 92,
"g": 17,
"b": 64
},
"hsl": {
"h": 322.4,
"s": 68.807,
"l": 21.373
},
"oklch": {
"l": 0.32794,
"c": 0.11768,
"h": 347.2
},
"luminance": 0.03046
}Semantic roles & 50–950 ramp
primary
#5C1140
secondary
#349558
accent
#EC7E3C
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B