#5F1139#5F1139
#5F1139 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 33.0% C 0.116 H 354.5°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1139 |
|---|---|
| RGB | rgb(95, 17, 57) |
| HSL | hsl(329, 70%, 22%) |
| HSV | hsv(329, 82%, 37%) |
| CMYK | cmyk(0%, 82.1%, 40%, 62.7%) |
| CIE-LAB | lab(20.56, 37.66, -4.42) |
| CIE-LCH | lch(20.56, 37.92, 353.31°) |
| OKLab | oklab(33.05% 0.1157 -0.0112) |
| OKLCH | oklch(33.05% 0.116 354.5) |
| XYZ | xyz(5.6587, 3.1299, 4.1762) |
| Luminance | 0.0313 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 4.26
Merlot
#730039
ΔE00 4.73
Velvet
#750851
ΔE00 6.31
Red Purple
#820747
ΔE00 6.93
Wine (survey)
#80013F
ΔE00 6.93
Burgundy (survey)
#610023
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1139 #115F37
analogous
#5E115F #5F1139 #5F1112
triadic
#5F1139 #395F11 #11395F
tetradic
#5F1139 #5F5E11 #115F37 #11125F
square
#5F1139 #5F5E11 #115F37 #11125F
split-complementary
#5F1139 #125F11 #115F5E
monochromatic
#1A0510 #2B081A #5F1139 #931A58 #C72477
Accessibility & contrast
On white
12.92
#5F1139 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#5F1139 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1139
12.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1139 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1139 | 1.00 | 12.92 | 1.63 | 12.92 |
| #FFFFFF | 12.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#21283A
Deuteranopia (green-blind)
#363737
Tritanopia (blue-blind)
#670823
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5f1139; /* rgb */ color: rgb(95, 17, 57); /* oklch */ color: oklch(33.0% 0.116 354.5);
Tailwind
colors: {
custom: {
50: '#90586f',
500: '#5f1139',
950: '#000000',
},
}SCSS
$custom: #5f1139; $custom-light: #90586f; $custom-dark: #000000;
JSON
{
"hex": "#5f1139",
"rgb": {
"r": 95,
"g": 17,
"b": 57
},
"hsl": {
"h": 329.231,
"s": 69.643,
"l": 21.961
},
"oklch": {
"l": 0.33049,
"c": 0.11624,
"h": 354.5
},
"luminance": 0.03129
}Semantic roles & 50–950 ramp
primary
#5F1139
secondary
#349865
accent
#EC923B
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A