#5B163F#5B163F
#5B163F is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.1% C 0.110 H 348.3°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).
Color values
| HEX | #5B163F |
|---|---|
| RGB | rgb(91, 22, 63) |
| HSL | hsl(324, 61%, 22%) |
| HSV | hsv(324, 76%, 36%) |
| CMYK | cmyk(0%, 75.8%, 30.8%, 64.3%) |
| CIE-LAB | lab(20.66, 35.35, -8.51) |
| CIE-LCH | lch(20.66, 36.36, 346.46°) |
| OKLab | oklab(33.06% 0.1075 -0.0224) |
| OKLCH | oklch(33.06% 0.11 348.3) |
| XYZ | xyz(5.4988, 3.1574, 5.0215) |
| Luminance | 0.0316 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 2.19
Grape Purple
#5D1451
ΔE00 5.41
Velvet
#750851
ΔE00 5.86
Dark Plum
#3F012C
ΔE00 6.60
Merlot
#730039
ΔE00 6.85
Rich Purple
#720058
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B163F #165B32
analogous
#55165B #5B163F #5B161C
triadic
#5B163F #3F5B16 #163F5B
tetradic
#5B163F #5B5516 #165B32 #161C5B
square
#5B163F #5B5516 #165B32 #161C5B
split-complementary
#5B163F #1C5B16 #165B55
monochromatic
#190611 #2A0A1D #5B163F #8C2261 #BE2E83
Accessibility & contrast
On white
12.87
#5B163F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#5B163F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B163F
12.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B163F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B163F | 1.00 | 12.87 | 1.63 | 12.87 |
| #FFFFFF | 12.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#202A40
Deuteranopia (green-blind)
#34363D
Tritanopia (blue-blind)
#621328
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #5b163f; /* rgb */ color: rgb(91, 22, 63); /* oklch */ color: oklch(33.1% 0.110 348.3);
Tailwind
colors: {
custom: {
50: '#8c5a74',
500: '#5b163f',
950: '#000000',
},
}SCSS
$custom: #5b163f; $custom-light: #8c5a74; $custom-dark: #000000;
JSON
{
"hex": "#5b163f",
"rgb": {
"r": 91,
"g": 22,
"b": 63
},
"hsl": {
"h": 324.348,
"s": 61.062,
"l": 22.157
},
"oklch": {
"l": 0.33057,
"c": 0.10983,
"h": 348.3
},
"luminance": 0.03157
}Semantic roles & 50–950 ramp
primary
#5B163F
secondary
#3B925E
accent
#E48544
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B