#5B152F#5B152F
#5B152F is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.3% C 0.103 H 2.4°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).
Color values
| HEX | #5B152F |
|---|---|
| RGB | rgb(91, 21, 47) |
| HSL | hsl(338, 63%, 22%) |
| HSV | hsv(338, 77%, 36%) |
| CMYK | cmyk(0%, 76.9%, 48.4%, 64.3%) |
| CIE-LAB | lab(19.91, 33.76, 1.55) |
| CIE-LCH | lch(19.91, 33.79, 2.63°) |
| OKLab | oklab(32.3% 0.1034 0.0044) |
| OKLCH | oklch(32.3% 0.103 2.4) |
| XYZ | xyz(5.0960, 2.9664, 2.9930) |
| Luminance | 0.0297 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.70
Merlot
#730039
ΔE00 5.46
Maroon (survey)
#650021
ΔE00 6.08
Wine (survey)
#80013F
ΔE00 7.60
Plum (survey)
#580F41
ΔE00 7.61
Bordeaux
#7B002C
ΔE00 7.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B152F #155B41
analogous
#5B1552 #5B152F #5B1E15
triadic
#5B152F #2F5B15 #152F5B
tetradic
#5B152F #525B15 #155B41 #1E155B
square
#5B152F #525B15 #155B41 #1E155B
split-complementary
#5B152F #155B1E #15525B
monochromatic
#19060D #290A15 #5B152F #8D2049 #BE2C62
Accessibility & contrast
On white
13.18
#5B152F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#5B152F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B152F
13.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B152F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B152F | 1.00 | 13.18 | 1.59 | 13.18 |
| #FFFFFF | 13.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#242730
Deuteranopia (green-blind)
#37352D
Tritanopia (blue-blind)
#630A20
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5b152f; /* rgb */ color: rgb(91, 21, 47); /* oklch */ color: oklch(32.3% 0.103 2.4);
Tailwind
colors: {
custom: {
50: '#8d5967',
500: '#5b152f',
950: '#000000',
},
}SCSS
$custom: #5b152f; $custom-light: #8d5967; $custom-dark: #000000;
JSON
{
"hex": "#5b152f",
"rgb": {
"r": 91,
"g": 21,
"b": 47
},
"hsl": {
"h": 337.714,
"s": 62.5,
"l": 21.961
},
"oklch": {
"l": 0.32304,
"c": 0.10347,
"h": 2.4
},
"luminance": 0.02966
}Semantic roles & 50–950 ramp
primary
#5B152F
secondary
#399271
accent
#E6A942
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A