#5B1147#5B1147
#5B1147 is a dark, vivid pink. Relative luminance 0.031; OKLCH L 33.0% C 0.122 H 341.3°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).
Color values
| HEX | #5B1147 |
|---|---|
| RGB | rgb(91, 17, 71) |
| HSL | hsl(316, 69%, 21%) |
| HSV | hsv(316, 81%, 36%) |
| CMYK | cmyk(0%, 81.3%, 22%, 64.3%) |
| CIE-LAB | lab(20.36, 38.42, -14.48) |
| CIE-LCH | lch(20.36, 41.06, 339.35°) |
| OKLab | oklab(32.96% 0.1152 -0.039) |
| OKLCH | oklch(32.96% 0.122 341.3) |
| XYZ | xyz(5.6523, 3.0806, 6.2569) |
| Luminance | 0.0308 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 1.41
Grape Purple
#5D1451
ΔE00 2.48
Rich Purple
#720058
ΔE00 5.07
Velvet
#750851
ΔE00 5.22
Deep Violet
#490648
ΔE00 5.48
Eggplant Purple
#430541
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B1147 #115B25
analogous
#4A115B #5B1147 #5B1122
triadic
#5B1147 #475B11 #11475B
tetradic
#5B1147 #5B4A11 #115B25 #11225B
square
#5B1147 #5B4A11 #115B25 #11225B
split-complementary
#5B1147 #225B11 #115B4A
monochromatic
#1A0514 #27071F #5B1147 #8F1B6F #C22497
Accessibility & contrast
On white
13.00
#5B1147 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#5B1147 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B1147
13.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B1147 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B1147 | 1.00 | 13.00 | 1.62 | 13.00 |
| #FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#182948
Deuteranopia (green-blind)
#2F3545
Tritanopia (blue-blind)
#61132A
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5b1147; /* rgb */ color: rgb(91, 17, 71); /* oklch */ color: oklch(33.0% 0.122 341.3);
Tailwind
colors: {
custom: {
50: '#8c587a',
500: '#5b1147',
950: '#000000',
},
}SCSS
$custom: #5b1147; $custom-light: #8c587a; $custom-dark: #000000;
JSON
{
"hex": "#5b1147",
"rgb": {
"r": 91,
"g": 17,
"b": 71
},
"hsl": {
"h": 316.216,
"s": 68.519,
"l": 21.176
},
"oklch": {
"l": 0.32962,
"c": 0.12161,
"h": 341.3
},
"luminance": 0.0308
}Semantic roles & 50–950 ramp
primary
#5B1147
secondary
#34944E
accent
#EB6C3C
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0409
muted
#7D797B