#5F0C4F#5F0C4F
#5F0C4F is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.8% C 0.135 H 337.8°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).
Color values
| HEX | #5F0C4F |
|---|---|
| RGB | rgb(95, 12, 79) |
| HSL | hsl(312, 78%, 21%) |
| HSV | hsv(312, 87%, 37%) |
| CMYK | cmyk(0%, 87.4%, 16.8%, 62.7%) |
| CIE-LAB | lab(21.06, 42.20, -18.79) |
| CIE-LCH | lch(21.06, 46.20, 336.00°) |
| OKLab | oklab(33.75% 0.125 -0.0511) |
| OKLCH | oklch(33.75% 0.135 337.8) |
| XYZ | xyz(6.2622, 3.2610, 7.6953) |
| Luminance | 0.0326 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Grape Purple
#5D1451
ΔE00 1.18
Plum (survey)
#580F41
ΔE00 3.55
Rich Purple
#720058
ΔE00 3.73
Plum Purple
#4E0550
ΔE00 4.72
Deep Violet
#490648
ΔE00 4.89
Velvet
#750851
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F0C4F #0C5F1C
analogous
#450C5F #5F0C4F #5F0C25
triadic
#5F0C4F #4F5F0C #0C4F5F
tetradic
#5F0C4F #5F450C #0C5F1C #0C255F
square
#5F0C4F #5F450C #0C5F1C #0C255F
split-complementary
#5F0C4F #255F0C #0C5F45
monochromatic
#1B0317 #290522 #5F0C4F #95137C #CC1AA9
Accessibility & contrast
On white
12.71
#5F0C4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#5F0C4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F0C4F
12.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F0C4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F0C4F | 1.00 | 12.71 | 1.65 | 12.71 |
| #FFFFFF | 12.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#102B51
Deuteranopia (green-blind)
#2E374D
Tritanopia (blue-blind)
#65122E
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #5f0c4f; /* rgb */ color: rgb(95, 12, 79); /* oklch */ color: oklch(33.8% 0.135 337.8);
Tailwind
colors: {
custom: {
50: '#905780',
500: '#5f0c4f',
950: '#000000',
},
}SCSS
$custom: #5f0c4f; $custom-light: #905780; $custom-dark: #000000;
JSON
{
"hex": "#5f0c4f",
"rgb": {
"r": 95,
"g": 12,
"b": 79
},
"hsl": {
"h": 311.566,
"s": 77.57,
"l": 20.98
},
"oklch": {
"l": 0.3375,
"c": 0.13508,
"h": 337.8
},
"luminance": 0.0326
}Semantic roles & 50–950 ramp
primary
#5F0C4F
secondary
#2D9942
accent
#F45934
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C