#5F1840#5F1840
#5F1840 is a dark, moderate pink. Relative luminance 0.035; OKLCH L 34.0% C 0.111 H 350.0°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1840 |
|---|---|
| RGB | rgb(95, 24, 64) |
| HSL | hsl(326, 60%, 23%) |
| HSV | hsv(326, 75%, 37%) |
| CMYK | cmyk(0%, 74.7%, 32.6%, 62.7%) |
| CIE-LAB | lab(21.79, 35.89, -7.42) |
| CIE-LCH | lch(21.79, 36.65, 348.32°) |
| OKLab | oklab(34.04% 0.1094 -0.0193) |
| OKLCH | oklch(34.04% 0.111 350) |
| XYZ | xyz(5.9717, 3.4570, 5.2023) |
| Luminance | 0.0346 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 3.07
Velvet
#750851
ΔE00 5.47
Grape Purple
#5D1451
ΔE00 5.93
Merlot
#730039
ΔE00 6.06
Rich Purple
#720058
ΔE00 6.97
Red Purple
#820747
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1840 #185F37
analogous
#5A185F #5F1840 #5F181C
triadic
#5F1840 #405F18 #18405F
tetradic
#5F1840 #5F5A18 #185F37 #181C5F
square
#5F1840 #5F5A18 #185F37 #181C5F
split-complementary
#5F1840 #1C5F18 #185F5A
monochromatic
#180610 #2E0C1F #5F1840 #902461 #C13182
Accessibility & contrast
On white
12.42
#5F1840 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#5F1840 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1840
12.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1840 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1840 | 1.00 | 12.42 | 1.69 | 12.42 |
| #FFFFFF | 12.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#232C41
Deuteranopia (green-blind)
#37393E
Tritanopia (blue-blind)
#661429
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #5f1840; /* rgb */ color: rgb(95, 24, 64); /* oklch */ color: oklch(34.0% 0.111 350.0);
Tailwind
colors: {
custom: {
50: '#905b74',
500: '#5f1840',
950: '#000000',
},
}SCSS
$custom: #5f1840; $custom-light: #905b74; $custom-dark: #000000;
JSON
{
"hex": "#5f1840",
"rgb": {
"r": 95,
"g": 24,
"b": 64
},
"hsl": {
"h": 326.197,
"s": 59.664,
"l": 23.333
},
"oklch": {
"l": 0.34043,
"c": 0.11114,
"h": 350
},
"luminance": 0.03456
}Semantic roles & 50–950 ramp
primary
#5F1840
secondary
#3D9564
accent
#E38A45
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B