#5F0F4B#5F0F4B
#5F0F4B is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.7% C 0.129 H 340.6°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).
Color values
| HEX | #5F0F4B |
|---|---|
| RGB | rgb(95, 15, 75) |
| HSL | hsl(315, 73%, 22%) |
| HSV | hsv(315, 84%, 37%) |
| CMYK | cmyk(0%, 84.2%, 21.1%, 62.7%) |
| CIE-LAB | lab(21.14, 40.74, -15.94) |
| CIE-LCH | lch(21.14, 43.75, 338.63°) |
| OKLab | oklab(33.74% 0.122 -0.043) |
| OKLCH | oklch(33.74% 0.129 340.6) |
| XYZ | xyz(6.1603, 3.2832, 6.9645) |
| Luminance | 0.0328 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Grape Purple
#5D1451
ΔE00 1.88
Plum (survey)
#580F41
ΔE00 2.41
Rich Purple
#720058
ΔE00 4.02
Velvet
#750851
ΔE00 4.53
Deep Violet
#490648
ΔE00 5.57
Plum Purple
#4E0550
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F0F4B #0F5F23
analogous
#4B0F5F #5F0F4B #5F0F23
triadic
#5F0F4B #4B5F0F #0F4B5F
tetradic
#5F0F4B #5F4B0F #0F5F23 #0F235F
square
#5F0F4B #5F4B0F #0F5F23 #0F235F
split-complementary
#5F0F4B #235F0F #0F5F4B
monochromatic
#1A0415 #2A0721 #5F0F4B #941775 #C9209E
Accessibility & contrast
On white
12.68
#5F0F4B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#5F0F4B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F0F4B
12.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F0F4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F0F4B | 1.00 | 12.68 | 1.66 | 12.68 |
| #FFFFFF | 12.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#162B4D
Deuteranopia (green-blind)
#303749
Tritanopia (blue-blind)
#65122C
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #5f0f4b; /* rgb */ color: rgb(95, 15, 75); /* oklch */ color: oklch(33.7% 0.129 340.6);
Tailwind
colors: {
custom: {
50: '#90587d',
500: '#5f0f4b',
950: '#000000',
},
}SCSS
$custom: #5f0f4b; $custom-light: #90587d; $custom-dark: #000000;
JSON
{
"hex": "#5f0f4b",
"rgb": {
"r": 95,
"g": 15,
"b": 75
},
"hsl": {
"h": 315,
"s": 72.727,
"l": 21.569
},
"oklch": {
"l": 0.33741,
"c": 0.12933,
"h": 340.6
},
"luminance": 0.03283
}Semantic roles & 50–950 ramp
primary
#5F0F4B
secondary
#32984B
accent
#EF6638
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D0409
muted
#7E797B