#5C1145#5C1145
#5C1145 is a dark, vivid pink. Relative luminance 0.031; OKLCH L 33.0% C 0.121 H 343.4°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).
Color values
| HEX | #5C1145 |
|---|---|
| RGB | rgb(92, 17, 69) |
| HSL | hsl(318, 69%, 21%) |
| HSV | hsv(318, 82%, 36%) |
| CMYK | cmyk(0%, 81.5%, 25%, 63.9%) |
| CIE-LAB | lab(20.47, 38.40, -12.94) |
| CIE-LCH | lch(20.47, 40.52, 341.38°) |
| OKLab | oklab(33.04% 0.1159 -0.0346) |
| OKLCH | oklch(33.04% 0.121 343.4) |
| XYZ | xyz(5.6885, 3.1065, 5.9291) |
| Luminance | 0.0311 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 0.99
Grape Purple
#5D1451
ΔE00 3.20
Velvet
#750851
ΔE00 5.00
Rich Purple
#720058
ΔE00 5.25
Deep Violet
#490648
ΔE00 6.16
Eggplant Purple
#430541
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C1145 #115C28
analogous
#4E115C #5C1145 #5C1120
triadic
#5C1145 #455C11 #11455C
tetradic
#5C1145 #5C4E11 #115C28 #11205C
square
#5C1145 #5C4E11 #115C28 #11205C
split-complementary
#5C1145 #205C11 #115C4E
monochromatic
#1A0513 #28071E #5C1145 #901B6C #C32492
Accessibility & contrast
On white
12.95
#5C1145 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#5C1145 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C1145
12.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C1145 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C1145 | 1.00 | 12.95 | 1.62 | 12.95 |
| #FFFFFF | 12.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#192946
Deuteranopia (green-blind)
#313643
Tritanopia (blue-blind)
#621129
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5c1145; /* rgb */ color: rgb(92, 17, 69); /* oklch */ color: oklch(33.0% 0.121 343.4);
Tailwind
colors: {
custom: {
50: '#8d5878',
500: '#5c1145',
950: '#000000',
},
}SCSS
$custom: #5c1145; $custom-light: #8d5878; $custom-dark: #000000;
JSON
{
"hex": "#5c1145",
"rgb": {
"r": 92,
"g": 17,
"b": 69
},
"hsl": {
"h": 318.4,
"s": 68.807,
"l": 21.373
},
"oklch": {
"l": 0.3304,
"c": 0.12093,
"h": 343.4
},
"luminance": 0.03106
}Semantic roles & 50–950 ramp
primary
#5C1145
secondary
#349552
accent
#EC723C
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0D0409
muted
#7D797B