#5F1136#5F1136
#5F1136 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.9% C 0.115 H 357.0°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1136 |
|---|---|
| RGB | rgb(95, 17, 54) |
| HSL | hsl(332, 70%, 22%) |
| HSV | hsv(332, 82%, 37%) |
| CMYK | cmyk(0%, 82.1%, 43.2%, 62.7%) |
| CIE-LAB | lab(20.44, 37.31, -2.49) |
| CIE-LCH | lch(20.44, 37.40, 356.18°) |
| OKLab | oklab(32.93% 0.1147 -0.0061) |
| OKLCH | oklch(32.93% 0.115 357) |
| XYZ | xyz(5.5860, 3.1009, 3.7937) |
| Luminance | 0.0310 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Merlot
#730039
ΔE00 4.35
Plum (survey)
#580F41
ΔE00 5.28
Burgundy (survey)
#610023
ΔE00 6.44
Wine (survey)
#80013F
ΔE00 6.66
Red Purple
#820747
ΔE00 6.95
Velvet
#750851
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1136 #115F3A
analogous
#5F115D #5F1136 #5F1311
triadic
#5F1136 #365F11 #11365F
tetradic
#5F1136 #5D5F11 #115F3A #13115F
square
#5F1136 #5D5F11 #115F3A #13115F
split-complementary
#5F1136 #115F13 #115D5F
monochromatic
#1A050F #2B0818 #5F1136 #931A54 #C72471
Accessibility & contrast
On white
12.96
#5F1136 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#5F1136 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1136
12.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1136 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1136 | 1.00 | 12.96 | 1.62 | 12.96 |
| #FFFFFF | 12.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#222837
Deuteranopia (green-blind)
#373734
Tritanopia (blue-blind)
#670622
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5f1136; /* rgb */ color: rgb(95, 17, 54); /* oklch */ color: oklch(32.9% 0.115 357.0);
Tailwind
colors: {
custom: {
50: '#90586c',
500: '#5f1136',
950: '#000000',
},
}SCSS
$custom: #5f1136; $custom-light: #90586c; $custom-dark: #000000;
JSON
{
"hex": "#5f1136",
"rgb": {
"r": 95,
"g": 17,
"b": 54
},
"hsl": {
"h": 331.538,
"s": 69.643,
"l": 21.961
},
"oklch": {
"l": 0.32929,
"c": 0.11485,
"h": 357
},
"luminance": 0.031
}Semantic roles & 50–950 ramp
primary
#5F1136
secondary
#349868
accent
#EC983B
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0407
muted
#7E797A