#5B1139#5B1139
#5B1139 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.3% C 0.113 H 352.5°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).
Color values
| HEX | #5B1139 |
|---|---|
| RGB | rgb(91, 17, 57) |
| HSL | hsl(328, 69%, 21%) |
| HSV | hsv(328, 81%, 36%) |
| CMYK | cmyk(0%, 81.3%, 37.4%, 64.3%) |
| CIE-LAB | lab(19.73, 36.48, -5.75) |
| CIE-LCH | lch(19.73, 36.93, 351.04°) |
| OKLab | oklab(32.29% 0.1119 -0.0148) |
| OKLCH | oklch(32.29% 0.113 352.5) |
| XYZ | xyz(5.2537, 2.9211, 4.1573) |
| Luminance | 0.0292 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 3.41
Merlot
#730039
ΔE00 5.75
Velvet
#750851
ΔE00 6.50
Dark Plum
#3F012C
ΔE00 6.56
Grape Purple
#5D1451
ΔE00 6.94
Red Purple
#820747
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B1139 #115B33
analogous
#58115B #5B1139 #5B1114
triadic
#5B1139 #395B11 #11395B
tetradic
#5B1139 #5B5811 #115B33 #11145B
square
#5B1139 #5B5811 #115B33 #11145B
split-complementary
#5B1139 #145B11 #115B58
monochromatic
#1A0510 #270719 #5B1139 #8F1B59 #C2247A
Accessibility & contrast
On white
13.26
#5B1139 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#5B1139 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B1139
13.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B1139 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B1139 | 1.00 | 13.26 | 1.58 | 13.26 |
| #FFFFFF | 13.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F273A
Deuteranopia (green-blind)
#343537
Tritanopia (blue-blind)
#630A23
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5b1139; /* rgb */ color: rgb(91, 17, 57); /* oklch */ color: oklch(32.3% 0.113 352.5);
Tailwind
colors: {
custom: {
50: '#8d586f',
500: '#5b1139',
950: '#000000',
},
}SCSS
$custom: #5b1139; $custom-light: #8d586f; $custom-dark: #000000;
JSON
{
"hex": "#5b1139",
"rgb": {
"r": 91,
"g": 17,
"b": 57
},
"hsl": {
"h": 327.568,
"s": 68.519,
"l": 21.176
},
"oklch": {
"l": 0.32289,
"c": 0.11282,
"h": 352.5
},
"luminance": 0.0292
}Semantic roles & 50–950 ramp
primary
#5B1139
secondary
#349460
accent
#EB8D3C
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A