#5B1A32#5B1A32
#5B1A32 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.0% C 0.098 H 1.4°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).
Color values
| HEX | #5B1A32 |
|---|---|
| RGB | rgb(91, 26, 50) |
| HSL | hsl(338, 56%, 23%) |
| HSV | hsv(338, 71%, 36%) |
| CMYK | cmyk(0%, 71.4%, 45.1%, 64.3%) |
| CIE-LAB | lab(20.80, 31.90, 0.75) |
| CIE-LCH | lch(20.80, 31.91, 1.34°) |
| OKLab | oklab(33% 0.0976 0.0023) |
| OKLCH | oklch(33% 0.098 1.4) |
| XYZ | xyz(5.2599, 3.1939, 3.3565) |
| Luminance | 0.0319 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 5.63
Merlot
#730039
ΔE00 5.85
Maroon (survey)
#650021
ΔE00 6.89
Plum (survey)
#580F41
ΔE00 7.38
Wine (survey)
#80013F
ΔE00 7.83
Wine
#722F37
ΔE00 8.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B1A32 #1A5B43
analogous
#5B1A52 #5B1A32 #5B221A
triadic
#5B1A32 #325B1A #1A325B
tetradic
#5B1A32 #525B1A #1A5B43 #221A5B
square
#5B1A32 #525B1A #1A5B43 #221A5B
split-complementary
#5B1A32 #1A5B22 #1A525B
monochromatic
#18070D #2B0C18 #5B1A32 #8B284C #BA3566
Accessibility & contrast
On white
12.82
#5B1A32 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#5B1A32 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B1A32
12.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B1A32 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B1A32 | 1.00 | 12.82 | 1.64 | 12.82 |
| #FFFFFF | 12.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#272A33
Deuteranopia (green-blind)
#383730
Tritanopia (blue-blind)
#631224
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #5b1a32; /* rgb */ color: rgb(91, 26, 50); /* oklch */ color: oklch(33.0% 0.098 1.4);
Tailwind
colors: {
custom: {
50: '#8d5b69',
500: '#5b1a32',
950: '#000000',
},
}SCSS
$custom: #5b1a32; $custom-light: #8d5b69; $custom-dark: #000000;
JSON
{
"hex": "#5b1a32",
"rgb": {
"r": 91,
"g": 26,
"b": 50
},
"hsl": {
"h": 337.846,
"s": 55.556,
"l": 22.941
},
"oklch": {
"l": 0.32998,
"c": 0.09761,
"h": 1.4
},
"luminance": 0.03193
}Semantic roles & 50–950 ramp
primary
#5B1A32
secondary
#409173
accent
#DFA849
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0D0406
muted
#7D797A