#5E1540#5E1540
#5E1540 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.5% C 0.114 H 348.9°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).
Color values
| HEX | #5E1540 |
|---|---|
| RGB | rgb(94, 21, 64) |
| HSL | hsl(325, 63%, 23%) |
| HSV | hsv(325, 78%, 37%) |
| CMYK | cmyk(0%, 77.7%, 31.9%, 63.1%) |
| CIE-LAB | lab(21.16, 36.80, -8.39) |
| CIE-LCH | lch(21.16, 37.74, 347.15°) |
| OKLab | oklab(33.54% 0.1122 -0.022) |
| OKLCH | oklch(33.54% 0.114 348.9) |
| XYZ | xyz(5.8100, 3.2868, 5.1779) |
| Luminance | 0.0329 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 2.38
Velvet
#750851
ΔE00 5.28
Grape Purple
#5D1451
ΔE00 5.42
Merlot
#730039
ΔE00 6.32
Rich Purple
#720058
ΔE00 6.59
Dark Plum
#3F012C
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E1540 #155E33
analogous
#58155E #5E1540 #5E151B
triadic
#5E1540 #405E15 #15405E
tetradic
#5E1540 #5E5815 #155E33 #151B5E
square
#5E1540 #5E5815 #155E33 #151B5E
split-complementary
#5E1540 #1B5E15 #155E58
monochromatic
#190611 #2C0A1E #5E1540 #902062 #C22B84
Accessibility & contrast
On white
12.67
#5E1540 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#5E1540 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E1540
12.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E1540 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E1540 | 1.00 | 12.67 | 1.66 | 12.67 |
| #FFFFFF | 12.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#202B41
Deuteranopia (green-blind)
#35373E
Tritanopia (blue-blind)
#651128
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #5e1540; /* rgb */ color: rgb(94, 21, 64); /* oklch */ color: oklch(33.5% 0.114 348.9);
Tailwind
colors: {
custom: {
50: '#8f5a74',
500: '#5e1540',
950: '#000000',
},
}SCSS
$custom: #5e1540; $custom-light: #8f5a74; $custom-dark: #000000;
JSON
{
"hex": "#5e1540",
"rgb": {
"r": 94,
"g": 21,
"b": 64
},
"hsl": {
"h": 324.658,
"s": 63.478,
"l": 22.549
},
"oklch": {
"l": 0.33544,
"c": 0.11433,
"h": 348.9
},
"luminance": 0.03286
}Semantic roles & 50–950 ramp
primary
#5E1540
secondary
#39955F
accent
#E78541
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B