#5C1228#5C1228
#5C1228 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.0% C 0.106 H 8.2°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).
Color values
| HEX | #5C1228 |
|---|---|
| RGB | rgb(92, 18, 40) |
| HSL | hsl(342, 67%, 22%) |
| HSV | hsv(342, 80%, 36%) |
| CMYK | cmyk(0%, 80.4%, 56.5%, 63.9%) |
| CIE-LAB | lab(19.48, 34.58, 5.92) |
| CIE-LCH | lch(19.48, 35.08, 9.72°) |
| OKLab | oklab(31.96% 0.1052 0.0152) |
| OKLCH | oklch(31.96% 0.106 8.2) |
| XYZ | xyz(5.0134, 2.8618, 2.2955) |
| Luminance | 0.0286 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 2.66
Maroon (survey)
#650021
ΔE00 3.74
Merlot
#730039
ΔE00 6.32
Bordeaux
#7B002C
ΔE00 6.55
Claret
#680018
ΔE00 7.18
Wine
#722F37
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C1228 #125C46
analogous
#5C124D #5C1228 #5C2112
triadic
#5C1228 #285C12 #12285C
tetradic
#5C1228 #4D5C12 #125C46 #21125C
square
#5C1228 #4D5C12 #125C46 #21125C
split-complementary
#5C1228 #125C21 #124D5C
monochromatic
#1A050B #290812 #5C1228 #8F1C3E #C22655
Accessibility & contrast
On white
13.36
#5C1228 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#5C1228 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C1228
13.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C1228 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C1228 | 1.00 | 13.36 | 1.57 | 13.36 |
| #FFFFFF | 13.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#252628
Deuteranopia (green-blind)
#383526
Tritanopia (blue-blind)
#65011B
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #5c1228; /* rgb */ color: rgb(92, 18, 40); /* oklch */ color: oklch(32.0% 0.106 8.2);
Tailwind
colors: {
custom: {
50: '#8f5761',
500: '#5c1228',
950: '#000000',
},
}SCSS
$custom: #5c1228; $custom-light: #8f5761; $custom-dark: #000000;
JSON
{
"hex": "#5c1228",
"rgb": {
"r": 92,
"g": 18,
"b": 40
},
"hsl": {
"h": 342.162,
"s": 67.273,
"l": 21.569
},
"oklch": {
"l": 0.31958,
"c": 0.10632,
"h": 8.2
},
"luminance": 0.02861
}Semantic roles & 50–950 ramp
primary
#5C1228
secondary
#359478
accent
#EAB73E
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0305
muted
#7E7879