#5B1E4E#5B1E4E
#5B1E4E is a dark, moderate pink. Relative luminance 0.037; OKLCH L 34.8% C 0.109 H 337.0°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).
Color values
| HEX | #5B1E4E |
|---|---|
| RGB | rgb(91, 30, 78) |
| HSL | hsl(313, 50%, 24%) |
| HSV | hsv(313, 67%, 36%) |
| CMYK | cmyk(0%, 67%, 14.3%, 64.3%) |
| CIE-LAB | lab(22.67, 34.11, -15.67) |
| CIE-LCH | lch(22.67, 37.54, 335.33°) |
| OKLab | oklab(34.75% 0.1 -0.0425) |
| OKLCH | oklch(34.75% 0.109 337) |
| XYZ | xyz(6.1539, 3.7033, 7.5969) |
| Luminance | 0.0370 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Grape Purple
#5D1451
ΔE00 2.42
Plum (survey)
#580F41
ΔE00 3.50
Rich Purple
#720058
ΔE00 5.75
Deep Violet
#490648
ΔE00 6.00
Grape
#6C3461
ΔE00 6.05
Velvet
#750851
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B1E4E #1E5B2B
analogous
#491E5B #5B1E4E #5B1E2F
triadic
#5B1E4E #4E5B1E #1E4E5B
tetradic
#5B1E4E #5B491E #1E5B2B #1E2F5B
square
#5B1E4E #5B491E #1E5B2B #1E2F5B
split-complementary
#5B1E4E #2F5B1E #1E5B49
monochromatic
#170814 #2D0F27 #5B1E4E #892D75 #B73C9D
Accessibility & contrast
On white
12.06
#5B1E4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#5B1E4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B1E4E
12.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B1E4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B1E4E | 1.00 | 12.06 | 1.74 | 12.06 |
| #FFFFFF | 12.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F304F
Deuteranopia (green-blind)
#323A4C
Tritanopia (blue-blind)
#602133
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #5b1e4e; /* rgb */ color: rgb(91, 30, 78); /* oklch */ color: oklch(34.8% 0.109 337.0);
Tailwind
colors: {
custom: {
50: '#8c5e7f',
500: '#5b1e4e',
950: '#000000',
},
}SCSS
$custom: #5b1e4e; $custom-light: #8c5e7f; $custom-dark: #000000;
JSON
{
"hex": "#5b1e4e",
"rgb": {
"r": 91,
"g": 30,
"b": 78
},
"hsl": {
"h": 312.787,
"s": 50.413,
"l": 23.725
},
"oklch": {
"l": 0.34751,
"c": 0.10867,
"h": 337
},
"luminance": 0.03703
}Semantic roles & 50–950 ramp
primary
#5B1E4E
secondary
#459055
accent
#DA6C4E
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C050A
muted
#7D797C