#5B0F47#5B0F47
#5B0F47 is a dark, vivid pink. Relative luminance 0.030; OKLCH L 32.8% C 0.124 H 341.2°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).
Color values
| HEX | #5B0F47 |
|---|---|
| RGB | rgb(91, 15, 71) |
| HSL | hsl(316, 72%, 21%) |
| HSV | hsv(316, 84%, 36%) |
| CMYK | cmyk(0%, 83.5%, 22%, 64.3%) |
| CIE-LAB | lab(20.13, 39.09, -14.85) |
| CIE-LCH | lch(20.13, 41.82, 339.20°) |
| OKLab | oklab(32.79% 0.1172 -0.04) |
| OKLCH | oklch(32.79% 0.124 341.2) |
| XYZ | xyz(5.6227, 3.0213, 6.2471) |
| Luminance | 0.0302 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 1.51
Grape Purple
#5D1451
ΔE00 2.42
Rich Purple
#720058
ΔE00 4.97
Velvet
#750851
ΔE00 5.22
Deep Violet
#490648
ΔE00 5.31
Plum Purple
#4E0550
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B0F47 #0F5B23
analogous
#490F5B #5B0F47 #5B0F21
triadic
#5B0F47 #475B0F #0F475B
tetradic
#5B0F47 #5B490F #0F5B23 #0F215B
square
#5B0F47 #5B490F #0F5B23 #0F215B
split-complementary
#5B0F47 #215B0F #0F5B49
monochromatic
#1A0414 #26061E #5B0F47 #901870 #C42099
Accessibility & contrast
On white
13.09
#5B0F47 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#5B0F47 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B0F47
13.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B0F47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B0F47 | 1.00 | 13.09 | 1.60 | 13.09 |
| #FFFFFF | 13.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#162948
Deuteranopia (green-blind)
#2F3545
Tritanopia (blue-blind)
#61112A
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5b0f47; /* rgb */ color: rgb(91, 15, 71); /* oklch */ color: oklch(32.8% 0.124 341.2);
Tailwind
colors: {
custom: {
50: '#8d577a',
500: '#5b0f47',
950: '#000000',
},
}SCSS
$custom: #5b0f47; $custom-light: #8d577a; $custom-dark: #000000;
JSON
{
"hex": "#5b0f47",
"rgb": {
"r": 91,
"g": 15,
"b": 71
},
"hsl": {
"h": 315.789,
"s": 71.698,
"l": 20.784
},
"oklch": {
"l": 0.32792,
"c": 0.12388,
"h": 341.2
},
"luminance": 0.03021
}Semantic roles & 50–950 ramp
primary
#5B0F47
secondary
#31954B
accent
#EE6939
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0409
muted
#7D797B