#5E1840#5E1840
#5E1840 is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.9% C 0.110 H 349.4°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).
Color values
| HEX | #5E1840 |
|---|---|
| RGB | rgb(94, 24, 64) |
| HSL | hsl(326, 59%, 23%) |
| HSV | hsv(326, 74%, 37%) |
| CMYK | cmyk(0%, 74.5%, 31.9%, 63.1%) |
| CIE-LAB | lab(21.59, 35.58, -7.73) |
| CIE-LCH | lch(21.59, 36.41, 347.74°) |
| OKLab | oklab(33.86% 0.1084 -0.0202) |
| OKLCH | oklch(33.86% 0.11 349.4) |
| XYZ | xyz(5.8684, 3.4038, 5.1974) |
| Luminance | 0.0340 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 2.86
Velvet
#750851
ΔE00 5.56
Grape Purple
#5D1451
ΔE00 5.77
Merlot
#730039
ΔE00 6.31
Rich Purple
#720058
ΔE00 6.98
Dark Plum
#3F012C
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E1840 #185E36
analogous
#59185E #5E1840 #5E181D
triadic
#5E1840 #405E18 #18405E
tetradic
#5E1840 #5E5918 #185E36 #181D5E
square
#5E1840 #5E5918 #185E36 #181D5E
split-complementary
#5E1840 #1D5E18 #185E59
monochromatic
#180611 #2D0C1F #5E1840 #8F2461 #C03182
Accessibility & contrast
On white
12.50
#5E1840 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#5E1840 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E1840
12.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E1840 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E1840 | 1.00 | 12.50 | 1.68 | 12.50 |
| #FFFFFF | 12.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#222C41
Deuteranopia (green-blind)
#36383E
Tritanopia (blue-blind)
#651529
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #5e1840; /* rgb */ color: rgb(94, 24, 64); /* oklch */ color: oklch(33.9% 0.110 349.4);
Tailwind
colors: {
custom: {
50: '#8f5b74',
500: '#5e1840',
950: '#000000',
},
}SCSS
$custom: #5e1840; $custom-light: #8f5b74; $custom-dark: #000000;
JSON
{
"hex": "#5e1840",
"rgb": {
"r": 94,
"g": 24,
"b": 64
},
"hsl": {
"h": 325.714,
"s": 59.322,
"l": 23.137
},
"oklch": {
"l": 0.33863,
"c": 0.11025,
"h": 349.4
},
"luminance": 0.03403
}Semantic roles & 50–950 ramp
primary
#5E1840
secondary
#3D9463
accent
#E38945
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B