#5B163E#5B163E
#5B163E is a dark, moderate pink. Relative luminance 0.031; OKLCH L 33.0% C 0.109 H 349.1°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).
Color values
| HEX | #5B163E |
|---|---|
| RGB | rgb(91, 22, 62) |
| HSL | hsl(325, 61%, 22%) |
| HSV | hsv(325, 76%, 36%) |
| CMYK | cmyk(0%, 75.8%, 31.9%, 64.3%) |
| CIE-LAB | lab(20.62, 35.21, -7.88) |
| CIE-LCH | lch(20.62, 36.08, 347.38°) |
| OKLab | oklab(33.01% 0.1073 -0.0206) |
| OKLCH | oklch(33.01% 0.109 349.1) |
| XYZ | xyz(5.4711, 3.1464, 4.8757) |
| Luminance | 0.0315 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 2.48
Grape Purple
#5D1451
ΔE00 5.75
Velvet
#750851
ΔE00 6.01
Dark Plum
#3F012C
ΔE00 6.63
Merlot
#730039
ΔE00 6.65
Rich Purple
#720058
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B163E #165B33
analogous
#56165B #5B163E #5B161C
triadic
#5B163E #3E5B16 #163E5B
tetradic
#5B163E #5B5616 #165B33 #161C5B
square
#5B163E #5B5616 #165B33 #161C5B
split-complementary
#5B163E #1C5B16 #165B56
monochromatic
#190611 #2A0A1C #5B163E #8C2260 #BE2E81
Accessibility & contrast
On white
12.89
#5B163E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#5B163E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B163E
12.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B163E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B163E | 1.00 | 12.89 | 1.63 | 12.89 |
| #FFFFFF | 12.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#202A3F
Deuteranopia (green-blind)
#34363C
Tritanopia (blue-blind)
#621327
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #5b163e; /* rgb */ color: rgb(91, 22, 62); /* oklch */ color: oklch(33.0% 0.109 349.1);
Tailwind
colors: {
custom: {
50: '#8c5a73',
500: '#5b163e',
950: '#000000',
},
}SCSS
$custom: #5b163e; $custom-light: #8c5a73; $custom-dark: #000000;
JSON
{
"hex": "#5b163e",
"rgb": {
"r": 91,
"g": 22,
"b": 62
},
"hsl": {
"h": 325.217,
"s": 61.062,
"l": 22.157
},
"oklch": {
"l": 0.33012,
"c": 0.10922,
"h": 349.1
},
"luminance": 0.03146
}Semantic roles & 50–950 ramp
primary
#5B163E
secondary
#3B925F
accent
#E48744
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0408
muted
#7D797B