#5B1440#5B1440
#5B1440 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.9% C 0.113 H 347.1°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).
Color values
| HEX | #5B1440 |
|---|---|
| RGB | rgb(91, 20, 64) |
| HSL | hsl(323, 64%, 22%) |
| HSV | hsv(323, 78%, 36%) |
| CMYK | cmyk(0%, 78%, 29.7%, 64.3%) |
| CIE-LAB | lab(20.42, 36.29, -9.57) |
| CIE-LCH | lch(20.42, 37.53, 345.23°) |
| OKLab | oklab(32.9% 0.1103 -0.0253) |
| OKLCH | oklch(32.9% 0.113 347.1) |
| XYZ | xyz(5.4902, 3.0952, 5.1578) |
| Luminance | 0.0309 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 1.59
Grape Purple
#5D1451
ΔE00 4.87
Velvet
#750851
ΔE00 5.59
Dark Plum
#3F012C
ΔE00 6.44
Rich Purple
#720058
ΔE00 6.55
Aubergine
#3D0734
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B1440 #145B2F
analogous
#53145B #5B1440 #5B141D
triadic
#5B1440 #405B14 #14405B
tetradic
#5B1440 #5B5314 #145B2F #141D5B
square
#5B1440 #5B5314 #145B2F #141D5B
split-complementary
#5B1440 #1D5B14 #145B53
monochromatic
#190612 #29091D #5B1440 #8D1F63 #BF2A87
Accessibility & contrast
On white
12.97
#5B1440 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#5B1440 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B1440
12.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B1440 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B1440 | 1.00 | 12.97 | 1.62 | 12.97 |
| #FFFFFF | 12.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E2941
Deuteranopia (green-blind)
#33363E
Tritanopia (blue-blind)
#621228
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5b1440; /* rgb */ color: rgb(91, 20, 64); /* oklch */ color: oklch(32.9% 0.113 347.1);
Tailwind
colors: {
custom: {
50: '#8d5974',
500: '#5b1440',
950: '#000000',
},
}SCSS
$custom: #5b1440; $custom-light: #8d5974; $custom-dark: #000000;
JSON
{
"hex": "#5b1440",
"rgb": {
"r": 91,
"g": 20,
"b": 64
},
"hsl": {
"h": 322.817,
"s": 63.964,
"l": 21.765
},
"oklch": {
"l": 0.32895,
"c": 0.11315,
"h": 347.1
},
"luminance": 0.03095
}Semantic roles & 50–950 ramp
primary
#5B1440
secondary
#38935B
accent
#E78041
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B