#5A162F#5A162F
#5A162F is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.2% C 0.101 H 2.3°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).
Color values
| HEX | #5A162F |
|---|---|
| RGB | rgb(90, 22, 47) |
| HSL | hsl(338, 61%, 22%) |
| HSV | hsv(338, 76%, 35%) |
| CMYK | cmyk(0%, 75.6%, 47.8%, 64.7%) |
| CIE-LAB | lab(19.86, 33.01, 1.45) |
| CIE-LCH | lch(19.86, 33.04, 2.52°) |
| OKLab | oklab(32.23% 0.101 0.0041) |
| OKLCH | oklch(32.23% 0.101 2.3) |
| XYZ | xyz(5.0168, 2.9533, 2.9946) |
| Luminance | 0.0295 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.90
Merlot
#730039
ΔE00 5.73
Maroon (survey)
#650021
ΔE00 6.26
Plum (survey)
#580F41
ΔE00 7.61
Wine (survey)
#80013F
ΔE00 7.85
Bordeaux
#7B002C
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A162F #165A41
analogous
#5A1651 #5A162F #5A1F16
triadic
#5A162F #2F5A16 #162F5A
tetradic
#5A162F #515A16 #165A41 #1F165A
square
#5A162F #515A16 #165A41 #1F165A
split-complementary
#5A162F #165A1F #16515A
monochromatic
#19060D #290A15 #5A162F #8B2249 #BC2E62
Accessibility & contrast
On white
13.20
#5A162F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#5A162F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A162F
13.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A162F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A162F | 1.00 | 13.20 | 1.59 | 13.20 |
| #FFFFFF | 13.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#252830
Deuteranopia (green-blind)
#37352D
Tritanopia (blue-blind)
#620C20
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5a162f; /* rgb */ color: rgb(90, 22, 47); /* oklch */ color: oklch(32.2% 0.101 2.3);
Tailwind
colors: {
custom: {
50: '#8c5967',
500: '#5a162f',
950: '#000000',
},
}SCSS
$custom: #5a162f; $custom-light: #8c5967; $custom-dark: #000000;
JSON
{
"hex": "#5a162f",
"rgb": {
"r": 90,
"g": 22,
"b": 47
},
"hsl": {
"h": 337.941,
"s": 60.714,
"l": 21.961
},
"oklch": {
"l": 0.32227,
"c": 0.10112,
"h": 2.3
},
"luminance": 0.02953
}Semantic roles & 50–950 ramp
primary
#5A162F
secondary
#3B9171
accent
#E4A944
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0D0406
muted
#7D797A