#5B1840#5B1840
#5B1840 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.3% C 0.108 H 347.8°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).
Color values
| HEX | #5B1840 |
|---|---|
| RGB | rgb(91, 24, 64) |
| HSL | hsl(324, 58%, 23%) |
| HSV | hsv(324, 74%, 36%) |
| CMYK | cmyk(0%, 73.6%, 29.7%, 64.3%) |
| CIE-LAB | lab(21.01, 34.64, -8.67) |
| CIE-LCH | lch(21.01, 35.71, 345.95°) |
| OKLab | oklab(33.33% 0.1052 -0.0228) |
| OKLCH | oklch(33.33% 0.108 347.8) |
| XYZ | xyz(5.5667, 3.2482, 5.1833) |
| Luminance | 0.0325 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 2.32
Grape Purple
#5D1451
ΔE00 5.34
Velvet
#750851
ΔE00 5.91
Dark Plum
#3F012C
ΔE00 6.78
Rich Purple
#720058
ΔE00 7.04
Merlot
#730039
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B1840 #185B33
analogous
#54185B #5B1840 #5B181F
triadic
#5B1840 #405B18 #18405B
tetradic
#5B1840 #5B5418 #185B33 #181F5B
square
#5B1840 #5B5418 #185B33 #181F5B
split-complementary
#5B1840 #1F5B18 #185B54
monochromatic
#180611 #2B0B1E #5B1840 #8B2562 #BC3284
Accessibility & contrast
On white
12.73
#5B1840 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#5B1840 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B1840
12.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B1840 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B1840 | 1.00 | 12.73 | 1.65 | 12.73 |
| #FFFFFF | 12.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#212B41
Deuteranopia (green-blind)
#34373E
Tritanopia (blue-blind)
#621629
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #5b1840; /* rgb */ color: rgb(91, 24, 64); /* oklch */ color: oklch(33.3% 0.108 347.8);
Tailwind
colors: {
custom: {
50: '#8c5b74',
500: '#5b1840',
950: '#000000',
},
}SCSS
$custom: #5b1840; $custom-light: #8c5b74; $custom-dark: #000000;
JSON
{
"hex": "#5b1840",
"rgb": {
"r": 91,
"g": 24,
"b": 64
},
"hsl": {
"h": 324.179,
"s": 58.261,
"l": 22.549
},
"oklch": {
"l": 0.33326,
"c": 0.10762,
"h": 347.8
},
"luminance": 0.03248
}Semantic roles & 50–950 ramp
primary
#5B1840
secondary
#3D925F
accent
#E18546
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B