#5F1940#5F1940
#5F1940 is a dark, moderate pink. Relative luminance 0.035; OKLCH L 34.2% C 0.110 H 350.2°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1940 |
|---|---|
| RGB | rgb(95, 25, 64) |
| HSL | hsl(327, 58%, 24%) |
| HSV | hsv(327, 74%, 37%) |
| CMYK | cmyk(0%, 73.7%, 32.6%, 62.7%) |
| CIE-LAB | lab(21.94, 35.47, -7.19) |
| CIE-LCH | lch(21.94, 36.19, 348.54°) |
| OKLab | oklab(34.15% 0.1081 -0.0187) |
| OKLCH | oklch(34.15% 0.11 350.2) |
| XYZ | xyz(5.9927, 3.4990, 5.2093) |
| Luminance | 0.0350 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 3.24
Velvet
#750851
ΔE00 5.58
Grape Purple
#5D1451
ΔE00 6.06
Merlot
#730039
ΔE00 6.07
Rich Purple
#720058
ΔE00 7.12
Red Purple
#820747
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1940 #195F38
analogous
#5B195F #5F1940 #5F191D
triadic
#5F1940 #405F19 #19405F
tetradic
#5F1940 #5F5B19 #195F38 #191D5F
square
#5F1940 #5F5B19 #195F38 #191D5F
split-complementary
#5F1940 #1D5F19 #195F5B
monochromatic
#180610 #2F0C1F #5F1940 #8F2661 #C03281
Accessibility & contrast
On white
12.36
#5F1940 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#5F1940 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1940
12.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1940 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1940 | 1.00 | 12.36 | 1.70 | 12.36 |
| #FFFFFF | 12.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#232D41
Deuteranopia (green-blind)
#37393E
Tritanopia (blue-blind)
#66152A
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #5f1940; /* rgb */ color: rgb(95, 25, 64); /* oklch */ color: oklch(34.2% 0.110 350.2);
Tailwind
colors: {
custom: {
50: '#8f5c74',
500: '#5f1940',
950: '#000000',
},
}SCSS
$custom: #5f1940; $custom-light: #8f5c74; $custom-dark: #000000;
JSON
{
"hex": "#5f1940",
"rgb": {
"r": 95,
"g": 25,
"b": 64
},
"hsl": {
"h": 326.571,
"s": 58.333,
"l": 23.529
},
"oklch": {
"l": 0.34154,
"c": 0.10972,
"h": 350.2
},
"luminance": 0.03498
}Semantic roles & 50–950 ramp
primary
#5F1940
secondary
#3F9565
accent
#E28B46
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B