#5F1847#5F1847
#5F1847 is a dark, moderate pink. Relative luminance 0.035; OKLCH L 34.4% C 0.116 H 344.3°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1847 |
|---|---|
| RGB | rgb(95, 24, 71) |
| HSL | hsl(320, 60%, 23%) |
| HSV | hsv(320, 75%, 37%) |
| CMYK | cmyk(0%, 74.7%, 25.3%, 62.7%) |
| CIE-LAB | lab(22.09, 36.90, -11.75) |
| CIE-LCH | lch(22.09, 38.72, 342.34°) |
| OKLab | oklab(34.37% 0.1113 -0.0313) |
| OKLCH | oklch(34.37% 0.116 344.3) |
| XYZ | xyz(6.1835, 3.5417, 6.3180) |
| Luminance | 0.0354 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 2.02
Grape Purple
#5D1451
ΔE00 3.68
Velvet
#750851
ΔE00 4.67
Rich Purple
#720058
ΔE00 5.37
Deep Violet
#490648
ΔE00 7.20
Grape
#6C3461
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1847 #185F30
analogous
#53185F #5F1847 #5F1823
triadic
#5F1847 #475F18 #18475F
tetradic
#5F1847 #5F5318 #185F30 #18235F
square
#5F1847 #5F5318 #185F30 #18235F
split-complementary
#5F1847 #235F18 #185F53
monochromatic
#180612 #2E0C22 #5F1847 #90246C #C13190
Accessibility & contrast
On white
12.29
#5F1847 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#5F1847 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1847
12.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1847 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1847 | 1.00 | 12.29 | 1.71 | 12.29 |
| #FFFFFF | 12.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#202D48
Deuteranopia (green-blind)
#353945
Tritanopia (blue-blind)
#66172D
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #5f1847; /* rgb */ color: rgb(95, 24, 71); /* oklch */ color: oklch(34.4% 0.116 344.3);
Tailwind
colors: {
custom: {
50: '#8f5c7a',
500: '#5f1847',
950: '#000000',
},
}SCSS
$custom: #5f1847; $custom-light: #8f5c7a; $custom-dark: #000000;
JSON
{
"hex": "#5f1847",
"rgb": {
"r": 95,
"g": 24,
"b": 71
},
"hsl": {
"h": 320.282,
"s": 59.664,
"l": 23.333
},
"oklch": {
"l": 0.34367,
"c": 0.11559,
"h": 344.3
},
"luminance": 0.03541
}Semantic roles & 50–950 ramp
primary
#5F1847
secondary
#3D955B
accent
#E37A45
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B