#5A162B#5A162B
#5A162B is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.1% C 0.100 H 6.2°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).
Color values
| HEX | #5A162B |
|---|---|
| RGB | rgb(90, 22, 43) |
| HSL | hsl(341, 61%, 22%) |
| HSV | hsv(341, 76%, 35%) |
| CMYK | cmyk(0%, 75.6%, 52.2%, 64.7%) |
| CIE-LAB | lab(19.73, 32.58, 4.09) |
| CIE-LCH | lch(19.73, 32.84, 7.16°) |
| OKLab | oklab(32.09% 0.0994 0.0107) |
| OKLCH | oklch(32.09% 0.1 6.2) |
| XYZ | xyz(4.9398, 2.9225, 2.5890) |
| Luminance | 0.0292 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.87
Maroon (survey)
#650021
ΔE00 5.02
Merlot
#730039
ΔE00 6.35
Bordeaux
#7B002C
ΔE00 7.45
Wine
#722F37
ΔE00 7.84
Wine (survey)
#80013F
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A162B #165A45
analogous
#5A164D #5A162B #5A2316
triadic
#5A162B #2B5A16 #162B5A
tetradic
#5A162B #4D5A16 #165A45 #23165A
square
#5A162B #4D5A16 #165A45 #23165A
split-complementary
#5A162B #165A23 #164D5A
monochromatic
#19060C #290A14 #5A162B #8B2242 #BC2E5A
Accessibility & contrast
On white
13.25
#5A162B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#5A162B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A162B
13.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A162B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A162B | 1.00 | 13.25 | 1.58 | 13.25 |
| #FFFFFF | 13.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26272B
Deuteranopia (green-blind)
#383529
Tritanopia (blue-blind)
#620A1F
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5a162b; /* rgb */ color: rgb(90, 22, 43); /* oklch */ color: oklch(32.1% 0.100 6.2);
Tailwind
colors: {
custom: {
50: '#8d5964',
500: '#5a162b',
950: '#000000',
},
}SCSS
$custom: #5a162b; $custom-light: #8d5964; $custom-dark: #000000;
JSON
{
"hex": "#5a162b",
"rgb": {
"r": 90,
"g": 22,
"b": 43
},
"hsl": {
"h": 341.471,
"s": 60.714,
"l": 21.961
},
"oklch": {
"l": 0.32094,
"c": 0.09997,
"h": 6.2
},
"luminance": 0.02922
}Semantic roles & 50–950 ramp
primary
#5A162B
secondary
#3B9176
accent
#E4B244
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0405
muted
#7E7979