#5F1137#5F1137
#5F1137 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 33.0% C 0.115 H 356.1°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1137 |
|---|---|
| RGB | rgb(95, 17, 55) |
| HSL | hsl(331, 70%, 22%) |
| HSV | hsv(331, 82%, 37%) |
| CMYK | cmyk(0%, 82.1%, 42.1%, 62.7%) |
| CIE-LAB | lab(20.48, 37.43, -3.13) |
| CIE-LCH | lch(20.48, 37.56, 355.21°) |
| OKLab | oklab(32.97% 0.115 -0.0078) |
| OKLCH | oklch(32.97% 0.115 356.1) |
| XYZ | xyz(5.6097, 3.1103, 3.9186) |
| Luminance | 0.0311 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Merlot
#730039
ΔE00 4.45
Plum (survey)
#580F41
ΔE00 4.93
Wine (survey)
#80013F
ΔE00 6.73
Burgundy (survey)
#610023
ΔE00 6.78
Velvet
#750851
ΔE00 6.83
Red Purple
#820747
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1137 #115F39
analogous
#5F115E #5F1137 #5F1211
triadic
#5F1137 #375F11 #11375F
tetradic
#5F1137 #5E5F11 #115F39 #12115F
square
#5F1137 #5E5F11 #115F39 #12115F
split-complementary
#5F1137 #115F12 #115E5F
monochromatic
#1A050F #2B0819 #5F1137 #931A55 #C72473
Accessibility & contrast
On white
12.95
#5F1137 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#5F1137 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1137
12.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1137 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1137 | 1.00 | 12.95 | 1.62 | 12.95 |
| #FFFFFF | 12.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#212838
Deuteranopia (green-blind)
#373735
Tritanopia (blue-blind)
#670622
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5f1137; /* rgb */ color: rgb(95, 17, 55); /* oklch */ color: oklch(33.0% 0.115 356.1);
Tailwind
colors: {
custom: {
50: '#90586d',
500: '#5f1137',
950: '#000000',
},
}SCSS
$custom: #5f1137; $custom-light: #90586d; $custom-dark: #000000;
JSON
{
"hex": "#5f1137",
"rgb": {
"r": 95,
"g": 17,
"b": 55
},
"hsl": {
"h": 330.769,
"s": 69.643,
"l": 21.961
},
"oklch": {
"l": 0.32968,
"c": 0.1153,
"h": 356.1
},
"luminance": 0.0311
}Semantic roles & 50–950 ramp
primary
#5F1137
secondary
#349867
accent
#EC963B
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0407
muted
#7E797A