#5F1127#5F1127
#5F1127 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.4% C 0.110 H 9.8°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1127 |
|---|---|
| RGB | rgb(95, 17, 39) |
| HSL | hsl(343, 70%, 22%) |
| HSV | hsv(343, 82%, 37%) |
| CMYK | cmyk(0%, 82.1%, 58.9%, 62.7%) |
| CIE-LAB | lab(19.97, 35.83, 7.41) |
| CIE-LCH | lch(19.97, 36.58, 11.68°) |
| OKLab | oklab(32.42% 0.1087 0.0187) |
| OKLCH | oklch(32.42% 0.11 9.8) |
| XYZ | xyz(5.2865, 2.9810, 2.2161) |
| Luminance | 0.0298 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 2.09
Maroon (survey)
#650021
ΔE00 2.84
Bordeaux
#7B002C
ΔE00 5.74
Claret
#680018
ΔE00 6.25
Merlot
#730039
ΔE00 6.39
Wine Red
#7B0323
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1127 #115F49
analogous
#5F114E #5F1127 #5F2211
triadic
#5F1127 #275F11 #11275F
tetradic
#5F1127 #4E5F11 #115F49 #22115F
square
#5F1127 #4E5F11 #115F49 #22115F
split-complementary
#5F1127 #115F22 #114E5F
monochromatic
#1A050B #2B0812 #5F1127 #931A3C #C72452
Accessibility & contrast
On white
13.16
#5F1127 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#5F1127 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1127
13.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1127 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1127 | 1.00 | 13.16 | 1.60 | 13.16 |
| #FFFFFF | 13.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#262627
Deuteranopia (green-blind)
#3A3625
Tritanopia (blue-blind)
#68001A
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5f1127; /* rgb */ color: rgb(95, 17, 39); /* oklch */ color: oklch(32.4% 0.110 9.8);
Tailwind
colors: {
custom: {
50: '#915860',
500: '#5f1127',
950: '#000000',
},
}SCSS
$custom: #5f1127; $custom-light: #915860; $custom-dark: #000000;
JSON
{
"hex": "#5f1127",
"rgb": {
"r": 95,
"g": 17,
"b": 39
},
"hsl": {
"h": 343.077,
"s": 69.643,
"l": 21.961
},
"oklch": {
"l": 0.32424,
"c": 0.11034,
"h": 9.8
},
"luminance": 0.0298
}Semantic roles & 50–950 ramp
primary
#5F1127
secondary
#34987C
accent
#ECBA3B
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0405
muted
#7E7979