#5C1127#5C1127
#5C1127 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.8% C 0.107 H 8.8°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).
Color values
| HEX | #5C1127 |
|---|---|
| RGB | rgb(92, 17, 39) |
| HSL | hsl(342, 69%, 21%) |
| HSV | hsv(342, 82%, 36%) |
| CMYK | cmyk(0%, 81.5%, 57.6%, 63.9%) |
| CIE-LAB | lab(19.32, 34.86, 6.41) |
| CIE-LCH | lch(19.32, 35.44, 10.42°) |
| OKLab | oklab(31.83% 0.106 0.0164) |
| OKLCH | oklch(31.83% 0.107 8.8) |
| XYZ | xyz(4.9808, 2.8234, 2.2018) |
| Luminance | 0.0282 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 2.43
Maroon (survey)
#650021
ΔE00 3.47
Bordeaux
#7B002C
ΔE00 6.44
Merlot
#730039
ΔE00 6.46
Claret
#680018
ΔE00 6.89
Wine
#722F37
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C1127 #115C46
analogous
#5C114D #5C1127 #5C2111
triadic
#5C1127 #275C11 #11275C
tetradic
#5C1127 #4D5C11 #115C46 #21115C
square
#5C1127 #4D5C11 #115C46 #21115C
split-complementary
#5C1127 #115C21 #114D5C
monochromatic
#1A050B #280711 #5C1127 #901B3D #C32453
Accessibility & contrast
On white
13.42
#5C1127 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#5C1127 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C1127
13.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C1127 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C1127 | 1.00 | 13.42 | 1.56 | 13.42 |
| #FFFFFF | 13.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#242527
Deuteranopia (green-blind)
#383425
Tritanopia (blue-blind)
#65001A
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #5c1127; /* rgb */ color: rgb(92, 17, 39); /* oklch */ color: oklch(31.8% 0.107 8.8);
Tailwind
colors: {
custom: {
50: '#8f5760',
500: '#5c1127',
950: '#000000',
},
}SCSS
$custom: #5c1127; $custom-light: #8f5760; $custom-dark: #000000;
JSON
{
"hex": "#5c1127",
"rgb": {
"r": 92,
"g": 17,
"b": 39
},
"hsl": {
"h": 342.4,
"s": 68.807,
"l": 21.373
},
"oklch": {
"l": 0.31831,
"c": 0.10725,
"h": 8.8
},
"luminance": 0.02823
}Semantic roles & 50–950 ramp
primary
#5C1127
secondary
#349578
accent
#ECB83C
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0305
muted
#7E7879