#5A152E#5A152E
#5A152E is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.1% C 0.102 H 2.9°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).
Color values
| HEX | #5A152E |
|---|---|
| RGB | rgb(90, 21, 46) |
| HSL | hsl(338, 62%, 22%) |
| HSV | hsv(338, 77%, 35%) |
| CMYK | cmyk(0%, 76.7%, 48.9%, 64.7%) |
| CIE-LAB | lab(19.67, 33.32, 1.89) |
| CIE-LCH | lch(19.67, 33.37, 3.24°) |
| OKLab | oklab(32.08% 0.102 0.0052) |
| OKLCH | oklch(32.08% 0.102 2.9) |
| XYZ | xyz(4.9781, 2.9079, 2.8834) |
| Luminance | 0.0291 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.60
Merlot
#730039
ΔE00 5.72
Maroon (survey)
#650021
ΔE00 5.97
Plum (survey)
#580F41
ΔE00 7.84
Wine (survey)
#80013F
ΔE00 7.85
Bordeaux
#7B002C
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A152E #155A41
analogous
#5A1551 #5A152E #5A1F15
triadic
#5A152E #2E5A15 #152E5A
tetradic
#5A152E #515A15 #155A41 #1F155A
square
#5A152E #515A15 #155A41 #1F155A
split-complementary
#5A152E #155A1F #15515A
monochromatic
#19060D #280915 #5A152E #8C2147 #BD2C61
Accessibility & contrast
On white
13.28
#5A152E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#5A152E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A152E
13.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A152E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A152E | 1.00 | 13.28 | 1.58 | 13.28 |
| #FFFFFF | 13.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24272F
Deuteranopia (green-blind)
#37352C
Tritanopia (blue-blind)
#620A1F
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5a152e; /* rgb */ color: rgb(90, 21, 46); /* oklch */ color: oklch(32.1% 0.102 2.9);
Tailwind
colors: {
custom: {
50: '#8d5966',
500: '#5a152e',
950: '#000000',
},
}SCSS
$custom: #5a152e; $custom-light: #8d5966; $custom-dark: #000000;
JSON
{
"hex": "#5a152e",
"rgb": {
"r": 90,
"g": 21,
"b": 46
},
"hsl": {
"h": 338.261,
"s": 62.162,
"l": 21.765
},
"oklch": {
"l": 0.3208,
"c": 0.10212,
"h": 2.9
},
"luminance": 0.02907
}Semantic roles & 50–950 ramp
primary
#5A152E
secondary
#399272
accent
#E5AA43
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0405
muted
#7E797A