#5A162E#5A162E
#5A162E is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.2% C 0.101 H 3.3°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).
Color values
| HEX | #5A162E |
|---|---|
| RGB | rgb(90, 22, 46) |
| HSL | hsl(339, 61%, 22%) |
| HSV | hsv(339, 76%, 35%) |
| CMYK | cmyk(0%, 75.6%, 48.9%, 64.7%) |
| CIE-LAB | lab(19.82, 32.90, 2.11) |
| CIE-LCH | lch(19.82, 32.96, 3.67°) |
| OKLab | oklab(32.19% 0.1006 0.0058) |
| OKLCH | oklch(32.19% 0.101 3.3) |
| XYZ | xyz(4.9969, 2.9454, 2.8896) |
| Luminance | 0.0295 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.62
Merlot
#730039
ΔE00 5.84
Maroon (survey)
#650021
ΔE00 5.94
Wine (survey)
#80013F
ΔE00 7.93
Bordeaux
#7B002C
ΔE00 7.99
Plum (survey)
#580F41
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A162E #165A42
analogous
#5A1650 #5A162E #5A2016
triadic
#5A162E #2E5A16 #162E5A
tetradic
#5A162E #505A16 #165A42 #20165A
square
#5A162E #505A16 #165A42 #20165A
split-complementary
#5A162E #165A20 #16505A
monochromatic
#19060D #290A15 #5A162E #8B2247 #BC2E60
Accessibility & contrast
On white
13.22
#5A162E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#5A162E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A162E
13.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A162E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A162E | 1.00 | 13.22 | 1.59 | 13.22 |
| #FFFFFF | 13.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25272F
Deuteranopia (green-blind)
#37352C
Tritanopia (blue-blind)
#620B20
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5a162e; /* rgb */ color: rgb(90, 22, 46); /* oklch */ color: oklch(32.2% 0.101 3.3);
Tailwind
colors: {
custom: {
50: '#8d5966',
500: '#5a162e',
950: '#000000',
},
}SCSS
$custom: #5a162e; $custom-light: #8d5966; $custom-dark: #000000;
JSON
{
"hex": "#5a162e",
"rgb": {
"r": 90,
"g": 22,
"b": 46
},
"hsl": {
"h": 338.824,
"s": 60.714,
"l": 21.961
},
"oklch": {
"l": 0.32193,
"c": 0.1008,
"h": 3.3
},
"luminance": 0.02945
}Semantic roles & 50–950 ramp
primary
#5A162E
secondary
#3B9173
accent
#E4AB44
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0405
muted
#7E797A