#5B1340#5B1340
#5B1340 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.8% C 0.114 H 347.0°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).
Color values
| HEX | #5B1340 |
|---|---|
| RGB | rgb(91, 19, 64) |
| HSL | hsl(323, 65%, 22%) |
| HSV | hsv(323, 79%, 36%) |
| CMYK | cmyk(0%, 79.1%, 29.7%, 64.3%) |
| CIE-LAB | lab(20.29, 36.67, -9.78) |
| CIE-LCH | lch(20.29, 37.96, 345.07°) |
| OKLab | oklab(32.8% 0.1115 -0.0258) |
| OKLCH | oklch(32.8% 0.114 347) |
| XYZ | xyz(5.4729, 3.0607, 5.1520) |
| Luminance | 0.0306 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 1.44
Grape Purple
#5D1451
ΔE00 4.78
Velvet
#750851
ΔE00 5.53
Dark Plum
#3F012C
ΔE00 6.37
Rich Purple
#720058
ΔE00 6.45
Aubergine
#3D0734
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B1340 #135B2E
analogous
#52135B #5B1340 #5B131C
triadic
#5B1340 #405B13 #13405B
tetradic
#5B1340 #5B5213 #135B2E #131C5B
square
#5B1340 #5B5213 #135B2E #131C5B
split-complementary
#5B1340 #1C5B13 #135B52
monochromatic
#190512 #28081C #5B1340 #8E1E64 #C02887
Accessibility & contrast
On white
13.03
#5B1340 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#5B1340 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B1340
13.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B1340 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B1340 | 1.00 | 13.03 | 1.61 | 13.03 |
| #FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D2941
Deuteranopia (green-blind)
#32353E
Tritanopia (blue-blind)
#621127
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5b1340; /* rgb */ color: rgb(91, 19, 64); /* oklch */ color: oklch(32.8% 0.114 347.0);
Tailwind
colors: {
custom: {
50: '#8d5974',
500: '#5b1340',
950: '#000000',
},
}SCSS
$custom: #5b1340; $custom-light: #8d5974; $custom-dark: #000000;
JSON
{
"hex": "#5b1340",
"rgb": {
"r": 91,
"g": 19,
"b": 64
},
"hsl": {
"h": 322.5,
"s": 65.455,
"l": 21.569
},
"oklch": {
"l": 0.32795,
"c": 0.11445,
"h": 347
},
"luminance": 0.0306
}Semantic roles & 50–950 ramp
primary
#5B1340
secondary
#379359
accent
#E87F3F
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B