#5B1027#5B1027
#5B1027 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.5% C 0.107 H 8.1°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).
Color values
| HEX | #5B1027 |
|---|---|
| RGB | rgb(91, 16, 39) |
| HSL | hsl(342, 70%, 21%) |
| HSV | hsv(342, 82%, 36%) |
| CMYK | cmyk(0%, 82.4%, 57.1%, 64.3%) |
| CIE-LAB | lab(18.98, 34.89, 5.90) |
| CIE-LCH | lch(18.98, 35.39, 9.60°) |
| OKLab | oklab(31.54% 0.1062 0.0151) |
| OKLCH | oklch(31.54% 0.107 8.1) |
| XYZ | xyz(4.8663, 2.7419, 2.1921) |
| Luminance | 0.0274 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 2.51
Maroon (survey)
#650021
ΔE00 3.70
Merlot
#730039
ΔE00 6.38
Bordeaux
#7B002C
ΔE00 6.69
Claret
#680018
ΔE00 7.21
Dark Maroon
#3C0008
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B1027 #105B44
analogous
#5B104C #5B1027 #5B1E10
triadic
#5B1027 #275B10 #10275B
tetradic
#5B1027 #4C5B10 #105B44 #1E105B
square
#5B1027 #4C5B10 #105B44 #1E105B
split-complementary
#5B1027 #105B1E #104C5B
monochromatic
#1A050B #270711 #5B1027 #8F193D #C32254
Accessibility & contrast
On white
13.56
#5B1027 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#5B1027 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B1027
13.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B1027 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B1027 | 1.00 | 13.56 | 1.55 | 13.56 |
| #FFFFFF | 13.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#242427
Deuteranopia (green-blind)
#373425
Tritanopia (blue-blind)
#64001A
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #5b1027; /* rgb */ color: rgb(91, 16, 39); /* oklch */ color: oklch(31.5% 0.107 8.1);
Tailwind
colors: {
custom: {
50: '#8e5660',
500: '#5b1027',
950: '#000000',
},
}SCSS
$custom: #5b1027; $custom-light: #8e5660; $custom-dark: #000000;
JSON
{
"hex": "#5b1027",
"rgb": {
"r": 91,
"g": 16,
"b": 39
},
"hsl": {
"h": 341.6,
"s": 70.093,
"l": 20.98
},
"oklch": {
"l": 0.31538,
"c": 0.1073,
"h": 8.1
},
"luminance": 0.02741
}Semantic roles & 50–950 ramp
primary
#5B1027
secondary
#339476
accent
#EDB63B
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0305
muted
#7E7879