#5E1150#5E1150
#5E1150 is a dark, vivid pink. Relative luminance 0.034; OKLCH L 34.0% C 0.130 H 336.7°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).
Color values
| HEX | #5E1150 |
|---|---|
| RGB | rgb(94, 17, 80) |
| HSL | hsl(311, 69%, 22%) |
| HSV | hsv(311, 82%, 37%) |
| CMYK | cmyk(0%, 81.9%, 14.9%, 63.1%) |
| CIE-LAB | lab(21.43, 40.62, -18.90) |
| CIE-LCH | lch(21.43, 44.80, 335.05°) |
| OKLab | oklab(34% 0.1196 -0.0515) |
| OKLCH | oklch(34% 0.13 336.7) |
| XYZ | xyz(6.2646, 3.3604, 7.9065) |
| Luminance | 0.0336 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Grape Purple
#5D1451
ΔE00 0.54
Plum (survey)
#580F41
ΔE00 3.63
Rich Purple
#720058
ΔE00 4.03
Plum Purple
#4E0550
ΔE00 4.64
Deep Violet
#490648
ΔE00 4.82
Velvet
#750851
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E1150 #115E1F
analogous
#46115E #5E1150 #5E112A
triadic
#5E1150 #505E11 #11505E
tetradic
#5E1150 #5E4611 #115E1F #112A5E
square
#5E1150 #5E4611 #115E1F #112A5E
split-complementary
#5E1150 #2A5E11 #115E46
monochromatic
#1A0516 #2A0824 #5E1150 #921A7C #C624A8
Accessibility & contrast
On white
12.56
#5E1150 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#5E1150 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E1150
12.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E1150 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E1150 | 1.00 | 12.56 | 1.67 | 12.56 |
| #FFFFFF | 12.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#132C52
Deuteranopia (green-blind)
#2E384E
Tritanopia (blue-blind)
#63162F
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #5e1150; /* rgb */ color: rgb(94, 17, 80); /* oklch */ color: oklch(34.0% 0.130 336.7);
Tailwind
colors: {
custom: {
50: '#8f5981',
500: '#5e1150',
950: '#000000',
},
}SCSS
$custom: #5e1150; $custom-light: #8f5981; $custom-dark: #000000;
JSON
{
"hex": "#5e1150",
"rgb": {
"r": 94,
"g": 17,
"b": 80
},
"hsl": {
"h": 310.909,
"s": 69.369,
"l": 21.765
},
"oklch": {
"l": 0.33999,
"c": 0.13021,
"h": 336.7
},
"luminance": 0.0336
}Semantic roles & 50–950 ramp
primary
#5E1150
secondary
#349746
accent
#EC5C3C
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C