#5F124F#5F124F
#5F124F is a dark, vivid pink. Relative luminance 0.034; OKLCH L 34.2% C 0.129 H 338.0°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).
Color values
| HEX | #5F124F |
|---|---|
| RGB | rgb(95, 18, 79) |
| HSL | hsl(312, 68%, 22%) |
| HSV | hsv(312, 81%, 37%) |
| CMYK | cmyk(0%, 81.1%, 16.8%, 62.7%) |
| CIE-LAB | lab(21.69, 40.39, -17.80) |
| CIE-LCH | lch(21.69, 44.14, 336.21°) |
| OKLab | oklab(34.21% 0.1196 -0.0483) |
| OKLCH | oklch(34.21% 0.129 338) |
| XYZ | xyz(6.3470, 3.4306, 7.7235) |
| Luminance | 0.0343 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Grape Purple
#5D1451
ΔE00 0.88
Plum (survey)
#580F41
ΔE00 3.27
Rich Purple
#720058
ΔE00 3.90
Velvet
#750851
ΔE00 4.89
Plum Purple
#4E0550
ΔE00 5.15
Deep Violet
#490648
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F124F #125F22
analogous
#49125F #5F124F #5F1228
triadic
#5F124F #4F5F12 #124F5F
tetradic
#5F124F #5F4912 #125F22 #12285F
square
#5F124F #5F4912 #125F22 #12285F
split-complementary
#5F124F #285F12 #125F49
monochromatic
#1A0515 #2C0824 #5F124F #921C7A #C625A5
Accessibility & contrast
On white
12.46
#5F124F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#5F124F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F124F
12.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F124F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F124F | 1.00 | 12.46 | 1.69 | 12.46 |
| #FFFFFF | 12.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#162C51
Deuteranopia (green-blind)
#30384D
Tritanopia (blue-blind)
#65162F
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #5f124f; /* rgb */ color: rgb(95, 18, 79); /* oklch */ color: oklch(34.2% 0.129 338.0);
Tailwind
colors: {
custom: {
50: '#8f5a80',
500: '#5f124f',
950: '#000000',
},
}SCSS
$custom: #5f124f; $custom-light: #8f5a80; $custom-dark: #000000;
JSON
{
"hex": "#5f124f",
"rgb": {
"r": 95,
"g": 18,
"b": 79
},
"hsl": {
"h": 312.468,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.34205,
"c": 0.12897,
"h": 338
},
"luminance": 0.0343
}Semantic roles & 50–950 ramp
primary
#5F124F
secondary
#36974A
accent
#EB613D
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C