#5F1147#5F1147
#5F1147 is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.7% C 0.124 H 343.5°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1147 |
|---|---|
| RGB | rgb(95, 17, 71) |
| HSL | hsl(318, 70%, 22%) |
| HSV | hsv(318, 82%, 37%) |
| CMYK | cmyk(0%, 82.1%, 25.3%, 62.7%) |
| CIE-LAB | lab(21.17, 39.51, -13.17) |
| CIE-LCH | lch(21.17, 41.65, 341.56°) |
| OKLab | oklab(33.69% 0.1193 -0.0352) |
| OKLCH | oklch(33.69% 0.124 343.5) |
| XYZ | xyz(6.0573, 3.2894, 6.2759) |
| Luminance | 0.0329 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 1.59
Grape Purple
#5D1451
ΔE00 3.07
Velvet
#750851
ΔE00 4.38
Rich Purple
#720058
ΔE00 4.68
Deep Violet
#490648
ΔE00 6.46
Plum Purple
#4E0550
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1147 #115F29
analogous
#50115F #5F1147 #5F1120
triadic
#5F1147 #475F11 #11475F
tetradic
#5F1147 #5F5011 #115F29 #11205F
square
#5F1147 #5F5011 #115F29 #11205F
split-complementary
#5F1147 #205F11 #115F50
monochromatic
#1A0513 #2B0820 #5F1147 #931A6E #C72495
Accessibility & contrast
On white
12.67
#5F1147 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#5F1147 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1147
12.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1147 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1147 | 1.00 | 12.67 | 1.66 | 12.67 |
| #FFFFFF | 12.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A2B48
Deuteranopia (green-blind)
#323745
Tritanopia (blue-blind)
#66112A
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #5f1147; /* rgb */ color: rgb(95, 17, 71); /* oklch */ color: oklch(33.7% 0.124 343.5);
Tailwind
colors: {
custom: {
50: '#90597a',
500: '#5f1147',
950: '#000000',
},
}SCSS
$custom: #5f1147; $custom-light: #90597a; $custom-dark: #000000;
JSON
{
"hex": "#5f1147",
"rgb": {
"r": 95,
"g": 17,
"b": 71
},
"hsl": {
"h": 318.462,
"s": 69.643,
"l": 21.961
},
"oklch": {
"l": 0.33693,
"c": 0.12442,
"h": 343.5
},
"luminance": 0.03289
}Semantic roles & 50–950 ramp
primary
#5F1147
secondary
#349853
accent
#EC723B
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B