#5A152B#5A152B
#5A152B is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.0% C 0.101 H 5.8°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).
Color values
| HEX | #5A152B |
|---|---|
| RGB | rgb(90, 21, 43) |
| HSL | hsl(341, 62%, 22%) |
| HSV | hsv(341, 77%, 35%) |
| CMYK | cmyk(0%, 76.7%, 52.2%, 64.7%) |
| CIE-LAB | lab(19.58, 33.00, 3.88) |
| CIE-LCH | lch(19.58, 33.23, 6.70°) |
| OKLab | oklab(31.98% 0.1008 0.0102) |
| OKLCH | oklch(31.98% 0.101 5.8) |
| XYZ | xyz(4.9211, 2.8851, 2.5828) |
| Luminance | 0.0288 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.81
Maroon (survey)
#650021
ΔE00 5.03
Merlot
#730039
ΔE00 6.20
Bordeaux
#7B002C
ΔE00 7.46
Wine
#722F37
ΔE00 8.04
Wine (survey)
#80013F
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A152B #155A44
analogous
#5A154E #5A152B #5A2215
triadic
#5A152B #2B5A15 #152B5A
tetradic
#5A152B #4E5A15 #155A44 #22155A
square
#5A152B #4E5A15 #155A44 #22155A
split-complementary
#5A152B #155A22 #154E5A
monochromatic
#19060C #280913 #5A152B #8C2143 #BD2C5A
Accessibility & contrast
On white
13.32
#5A152B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#5A152B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A152B
13.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A152B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A152B | 1.00 | 13.32 | 1.58 | 13.32 |
| #FFFFFF | 13.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25272B
Deuteranopia (green-blind)
#373429
Tritanopia (blue-blind)
#63081E
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #5a152b; /* rgb */ color: rgb(90, 21, 43); /* oklch */ color: oklch(32.0% 0.101 5.8);
Tailwind
colors: {
custom: {
50: '#8d5964',
500: '#5a152b',
950: '#000000',
},
}SCSS
$custom: #5a152b; $custom-light: #8d5964; $custom-dark: #000000;
JSON
{
"hex": "#5a152b",
"rgb": {
"r": 90,
"g": 21,
"b": 43
},
"hsl": {
"h": 340.87,
"s": 62.162,
"l": 21.765
},
"oklch": {
"l": 0.3198,
"c": 0.10127,
"h": 5.8
},
"luminance": 0.02884
}Semantic roles & 50–950 ramp
primary
#5A152B
secondary
#399275
accent
#E5B143
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0405
muted
#7E7979