#5E1850#5E1850
#5E1850 is a dark, vivid pink. Relative luminance 0.036; OKLCH L 34.7% C 0.122 H 337.0°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).
Color values
| HEX | #5E1850 |
|---|---|
| RGB | rgb(94, 24, 80) |
| HSL | hsl(312, 59%, 23%) |
| HSV | hsv(312, 74%, 37%) |
| CMYK | cmyk(0%, 74.5%, 14.9%, 63.1%) |
| CIE-LAB | lab(22.35, 38.03, -17.47) |
| CIE-LCH | lch(22.35, 41.85, 335.32°) |
| OKLab | oklab(34.66% 0.1119 -0.0475) |
| OKLCH | oklch(34.66% 0.122 337) |
| XYZ | xyz(6.3908, 3.6127, 7.9486) |
| Luminance | 0.0361 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Grape Purple
#5D1451
ΔE00 1.00
Plum (survey)
#580F41
ΔE00 3.46
Rich Purple
#720058
ΔE00 4.46
Velvet
#750851
ΔE00 5.26
Plum Purple
#4E0550
ΔE00 5.42
Deep Violet
#490648
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E1850 #185E26
analogous
#49185E #5E1850 #5E182D
triadic
#5E1850 #505E18 #18505E
tetradic
#5E1850 #5E4918 #185E26 #182D5E
square
#5E1850 #5E4918 #185E26 #182D5E
split-complementary
#5E1850 #2D5E18 #185E49
monochromatic
#180615 #2D0C27 #5E1850 #8F2479 #C031A3
Accessibility & contrast
On white
12.19
#5E1850 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#5E1850 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E1850
12.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E1850 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E1850 | 1.00 | 12.19 | 1.72 | 12.19 |
| #FFFFFF | 12.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A2F52
Deuteranopia (green-blind)
#31394E
Tritanopia (blue-blind)
#631C31
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #5e1850; /* rgb */ color: rgb(94, 24, 80); /* oklch */ color: oklch(34.7% 0.122 337.0);
Tailwind
colors: {
custom: {
50: '#8e5c81',
500: '#5e1850',
950: '#000000',
},
}SCSS
$custom: #5e1850; $custom-light: #8e5c81; $custom-dark: #000000;
JSON
{
"hex": "#5e1850",
"rgb": {
"r": 94,
"g": 24,
"b": 80
},
"hsl": {
"h": 312,
"s": 59.322,
"l": 23.137
},
"oklch": {
"l": 0.34659,
"c": 0.12151,
"h": 337
},
"luminance": 0.03612
}Semantic roles & 50–950 ramp
primary
#5E1850
secondary
#3D944F
accent
#E36545
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C