#5B152D#5B152D
#5B152D is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.2% C 0.103 H 4.3°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).
Color values
| HEX | #5B152D |
|---|---|
| RGB | rgb(91, 21, 45) |
| HSL | hsl(339, 63%, 22%) |
| HSV | hsv(339, 77%, 36%) |
| CMYK | cmyk(0%, 76.9%, 50.5%, 64.3%) |
| CIE-LAB | lab(19.84, 33.55, 2.87) |
| CIE-LCH | lch(19.84, 33.67, 4.89°) |
| OKLab | oklab(32.24% 0.1026 0.0077) |
| OKLCH | oklch(32.24% 0.103 4.3) |
| XYZ | xyz(5.0566, 2.9506, 2.7854) |
| Luminance | 0.0295 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.12
Maroon (survey)
#650021
ΔE00 5.42
Merlot
#730039
ΔE00 5.72
Bordeaux
#7B002C
ΔE00 7.55
Wine (survey)
#80013F
ΔE00 7.78
Wine
#722F37
ΔE00 8.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B152D #155B43
analogous
#5B1550 #5B152D #5B2015
triadic
#5B152D #2D5B15 #152D5B
tetradic
#5B152D #505B15 #155B43 #20155B
square
#5B152D #505B15 #155B43 #20155B
split-complementary
#5B152D #155B20 #15505B
monochromatic
#19060C #290A14 #5B152D #8D2046 #BE2C5E
Accessibility & contrast
On white
13.21
#5B152D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#5B152D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B152D
13.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B152D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B152D | 1.00 | 13.21 | 1.59 | 13.21 |
| #FFFFFF | 13.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25272E
Deuteranopia (green-blind)
#38352B
Tritanopia (blue-blind)
#63091F
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5b152d; /* rgb */ color: rgb(91, 21, 45); /* oklch */ color: oklch(32.2% 0.103 4.3);
Tailwind
colors: {
custom: {
50: '#8e5965',
500: '#5b152d',
950: '#000000',
},
}SCSS
$custom: #5b152d; $custom-light: #8e5965; $custom-dark: #000000;
JSON
{
"hex": "#5b152d",
"rgb": {
"r": 91,
"g": 21,
"b": 45
},
"hsl": {
"h": 339.429,
"s": 62.5,
"l": 21.961
},
"oklch": {
"l": 0.32236,
"c": 0.10286,
"h": 4.3
},
"luminance": 0.0295
}Semantic roles & 50–950 ramp
primary
#5B152D
secondary
#399274
accent
#E6AE42
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0405
muted
#7E797A