#5B1540#5B1540
#5B1540 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 33.0% C 0.112 H 347.3°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).
Color values
| HEX | #5B1540 |
|---|---|
| RGB | rgb(91, 21, 64) |
| HSL | hsl(323, 63%, 22%) |
| HSV | hsv(323, 77%, 36%) |
| CMYK | cmyk(0%, 76.9%, 29.7%, 64.3%) |
| CIE-LAB | lab(20.56, 35.90, -9.36) |
| CIE-LCH | lch(20.56, 37.10, 345.39°) |
| OKLab | oklab(33% 0.1091 -0.0247) |
| OKLCH | oklch(33% 0.112 347.3) |
| XYZ | xyz(5.5082, 3.1312, 5.1638) |
| Luminance | 0.0313 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 1.75
Grape Purple
#5D1451
ΔE00 4.97
Velvet
#750851
ΔE00 5.66
Dark Plum
#3F012C
ΔE00 6.51
Rich Purple
#720058
ΔE00 6.66
Aubergine
#3D0734
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B1540 #155B30
analogous
#53155B #5B1540 #5B151D
triadic
#5B1540 #405B15 #15405B
tetradic
#5B1540 #5B5315 #155B30 #151D5B
square
#5B1540 #5B5315 #155B30 #151D5B
split-complementary
#5B1540 #1D5B15 #155B53
monochromatic
#190611 #290A1D #5B1540 #8D2063 #BE2C86
Accessibility & contrast
On white
12.91
#5B1540 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#5B1540 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B1540
12.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B1540 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B1540 | 1.00 | 12.91 | 1.63 | 12.91 |
| #FFFFFF | 12.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E2A41
Deuteranopia (green-blind)
#33363E
Tritanopia (blue-blind)
#621328
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #5b1540; /* rgb */ color: rgb(91, 21, 64); /* oklch */ color: oklch(33.0% 0.112 347.3);
Tailwind
colors: {
custom: {
50: '#8c5974',
500: '#5b1540',
950: '#000000',
},
}SCSS
$custom: #5b1540; $custom-light: #8c5974; $custom-dark: #000000;
JSON
{
"hex": "#5b1540",
"rgb": {
"r": 91,
"g": 21,
"b": 64
},
"hsl": {
"h": 323.143,
"s": 62.5,
"l": 21.961
},
"oklch": {
"l": 0.32997,
"c": 0.11183,
"h": 347.3
},
"luminance": 0.03131
}Semantic roles & 50–950 ramp
primary
#5B1540
secondary
#39925C
accent
#E68142
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B