#5A162A#5A162A
#5A162A is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.1% C 0.100 H 7.1°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).
Color values
| HEX | #5A162A |
|---|---|
| RGB | rgb(90, 22, 42) |
| HSL | hsl(342, 61%, 22%) |
| HSV | hsv(342, 76%, 35%) |
| CMYK | cmyk(0%, 75.6%, 53.3%, 64.7%) |
| CIE-LAB | lab(19.70, 32.48, 4.76) |
| CIE-LCH | lch(19.70, 32.83, 8.33°) |
| OKLab | oklab(32.06% 0.099 0.0124) |
| OKLCH | oklch(32.06% 0.1 7.1) |
| XYZ | xyz(4.9217, 2.9153, 2.4936) |
| Luminance | 0.0291 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.69
Maroon (survey)
#650021
ΔE00 4.75
Merlot
#730039
ΔE00 6.57
Bordeaux
#7B002C
ΔE00 7.31
Wine
#722F37
ΔE00 7.67
Claret
#680018
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A162A #165A46
analogous
#5A164C #5A162A #5A2416
triadic
#5A162A #2A5A16 #162A5A
tetradic
#5A162A #4C5A16 #165A46 #24165A
square
#5A162A #4C5A16 #165A46 #24165A
split-complementary
#5A162A #165A24 #164C5A
monochromatic
#19060B #290A13 #5A162A #8B2241 #BC2E58
Accessibility & contrast
On white
13.27
#5A162A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#5A162A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A162A
13.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A162A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A162A | 1.00 | 13.27 | 1.58 | 13.27 |
| #FFFFFF | 13.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26272A
Deuteranopia (green-blind)
#383528
Tritanopia (blue-blind)
#63091E
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5a162a; /* rgb */ color: rgb(90, 22, 42); /* oklch */ color: oklch(32.1% 0.100 7.1);
Tailwind
colors: {
custom: {
50: '#8d5963',
500: '#5a162a',
950: '#000000',
},
}SCSS
$custom: #5a162a; $custom-light: #8d5963; $custom-dark: #000000;
JSON
{
"hex": "#5a162a",
"rgb": {
"r": 90,
"g": 22,
"b": 42
},
"hsl": {
"h": 342.353,
"s": 60.714,
"l": 21.961
},
"oklch": {
"l": 0.32062,
"c": 0.09973,
"h": 7.1
},
"luminance": 0.02915
}Semantic roles & 50–950 ramp
primary
#5A162A
secondary
#3B9178
accent
#E4B544
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0405
muted
#7E7979