#5B1127#5B1127
#5B1127 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.6% C 0.106 H 8.4°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).
Color values
| HEX | #5B1127 |
|---|---|
| RGB | rgb(91, 17, 39) |
| HSL | hsl(342, 69%, 21%) |
| HSV | hsv(342, 81%, 36%) |
| CMYK | cmyk(0%, 81.3%, 57.1%, 64.3%) |
| CIE-LAB | lab(19.11, 34.53, 6.08) |
| CIE-LCH | lch(19.11, 35.06, 9.99°) |
| OKLab | oklab(31.63% 0.1051 0.0156) |
| OKLCH | oklch(31.63% 0.106 8.4) |
| XYZ | xyz(4.8815, 2.7722, 2.1971) |
| Luminance | 0.0277 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 2.59
Maroon (survey)
#650021
ΔE00 3.69
Merlot
#730039
ΔE00 6.51
Bordeaux
#7B002C
ΔE00 6.68
Claret
#680018
ΔE00 7.12
Dark Maroon
#3C0008
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B1127 #115B45
analogous
#5B114C #5B1127 #5B2011
triadic
#5B1127 #275B11 #11275B
tetradic
#5B1127 #4C5B11 #115B45 #20115B
square
#5B1127 #4C5B11 #115B45 #20115B
split-complementary
#5B1127 #115B20 #114C5B
monochromatic
#1A050B #270711 #5B1127 #8F1B3D #C22453
Accessibility & contrast
On white
13.51
#5B1127 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#5B1127 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B1127
13.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B1127 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B1127 | 1.00 | 13.51 | 1.55 | 13.51 |
| #FFFFFF | 13.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#242527
Deuteranopia (green-blind)
#373425
Tritanopia (blue-blind)
#64001A
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #5b1127; /* rgb */ color: rgb(91, 17, 39); /* oklch */ color: oklch(31.6% 0.106 8.4);
Tailwind
colors: {
custom: {
50: '#8e5760',
500: '#5b1127',
950: '#000000',
},
}SCSS
$custom: #5b1127; $custom-light: #8e5760; $custom-dark: #000000;
JSON
{
"hex": "#5b1127",
"rgb": {
"r": 91,
"g": 17,
"b": 39
},
"hsl": {
"h": 342.162,
"s": 68.519,
"l": 21.176
},
"oklch": {
"l": 0.31633,
"c": 0.10621,
"h": 8.4
},
"luminance": 0.02772
}Semantic roles & 50–950 ramp
primary
#5B1127
secondary
#349477
accent
#EBB73C
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0305
muted
#7E7879