#5B152B#5B152B
#5B152B is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.2% C 0.102 H 6.2°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).
Color values
| HEX | #5B152B |
|---|---|
| RGB | rgb(91, 21, 43) |
| HSL | hsl(341, 63%, 22%) |
| HSV | hsv(341, 77%, 36%) |
| CMYK | cmyk(0%, 76.9%, 52.7%, 64.3%) |
| CIE-LAB | lab(19.78, 33.34, 4.20) |
| CIE-LCH | lch(19.78, 33.61, 7.17°) |
| OKLab | oklab(32.17% 0.1017 0.011) |
| OKLCH | oklch(32.17% 0.102 6.2) |
| XYZ | xyz(5.0190, 2.9356, 2.5874) |
| Luminance | 0.0294 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.62
Maroon (survey)
#650021
ΔE00 4.80
Merlot
#730039
ΔE00 6.10
Bordeaux
#7B002C
ΔE00 7.20
Wine
#722F37
ΔE00 7.85
Wine (survey)
#80013F
ΔE00 8.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B152B #155B45
analogous
#5B154E #5B152B #5B2215
triadic
#5B152B #2B5B15 #152B5B
tetradic
#5B152B #4E5B15 #155B45 #22155B
square
#5B152B #4E5B15 #155B45 #22155B
split-complementary
#5B152B #155B22 #154E5B
monochromatic
#19060C #290A14 #5B152B #8D2042 #BE2C5A
Accessibility & contrast
On white
13.23
#5B152B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#5B152B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B152B
13.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B152B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B152B | 1.00 | 13.23 | 1.59 | 13.23 |
| #FFFFFF | 13.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25272B
Deuteranopia (green-blind)
#383529
Tritanopia (blue-blind)
#64081E
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5b152b; /* rgb */ color: rgb(91, 21, 43); /* oklch */ color: oklch(32.2% 0.102 6.2);
Tailwind
colors: {
custom: {
50: '#8e5964',
500: '#5b152b',
950: '#000000',
},
}SCSS
$custom: #5b152b; $custom-light: #8e5964; $custom-dark: #000000;
JSON
{
"hex": "#5b152b",
"rgb": {
"r": 91,
"g": 21,
"b": 43
},
"hsl": {
"h": 341.143,
"s": 62.5,
"l": 21.961
},
"oklch": {
"l": 0.32171,
"c": 0.10233,
"h": 6.2
},
"luminance": 0.02935
}Semantic roles & 50–950 ramp
primary
#5B152B
secondary
#399276
accent
#E6B242
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0405
muted
#7E7979