#5E154E#5E154E
#5E154E is a dark, vivid pink. Relative luminance 0.035; OKLCH L 34.2% C 0.124 H 338.2°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).
Color values
| HEX | #5E154E |
|---|---|
| RGB | rgb(94, 21, 78) |
| HSL | hsl(313, 63%, 23%) |
| HSV | hsv(313, 78%, 37%) |
| CMYK | cmyk(0%, 77.7%, 17%, 63.1%) |
| CIE-LAB | lab(21.82, 38.88, -16.94) |
| CIE-LCH | lch(21.82, 42.41, 336.46°) |
| OKLab | oklab(34.25% 0.1151 -0.0459) |
| OKLCH | oklch(34.25% 0.124 338.2) |
| XYZ | xyz(6.2595, 3.4667, 7.5457) |
| Luminance | 0.0347 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Grape Purple
#5D1451
ΔE00 1.10
Plum (survey)
#580F41
ΔE00 2.98
Rich Purple
#720058
ΔE00 4.29
Velvet
#750851
ΔE00 5.01
Deep Violet
#490648
ΔE00 5.37
Plum Purple
#4E0550
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E154E #155E25
analogous
#4A155E #5E154E #5E1529
triadic
#5E154E #4E5E15 #154E5E
tetradic
#5E154E #5E4A15 #155E25 #15295E
square
#5E154E #5E4A15 #155E25 #15295E
split-complementary
#5E154E #295E15 #155E4A
monochromatic
#190615 #2C0A24 #5E154E #902078 #C22BA1
Accessibility & contrast
On white
12.40
#5E154E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#5E154E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E154E
12.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E154E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E154E | 1.00 | 12.40 | 1.69 | 12.40 |
| #FFFFFF | 12.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#182D50
Deuteranopia (green-blind)
#31384C
Tritanopia (blue-blind)
#64192F
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #5e154e; /* rgb */ color: rgb(94, 21, 78); /* oklch */ color: oklch(34.2% 0.124 338.2);
Tailwind
colors: {
custom: {
50: '#8f5b7f',
500: '#5e154e',
950: '#000000',
},
}SCSS
$custom: #5e154e; $custom-light: #8f5b7f; $custom-dark: #000000;
JSON
{
"hex": "#5e154e",
"rgb": {
"r": 94,
"g": 21,
"b": 78
},
"hsl": {
"h": 313.151,
"s": 63.478,
"l": 22.549
},
"oklch": {
"l": 0.34246,
"c": 0.12393,
"h": 338.2
},
"luminance": 0.03466
}Semantic roles & 50–950 ramp
primary
#5E154E
secondary
#39954E
accent
#E76641
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C