#5A182E#5A182E
#5A182E is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.4% C 0.098 H 4.1°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).
Color values
| HEX | #5A182E |
|---|---|
| RGB | rgb(90, 24, 46) |
| HSL | hsl(340, 58%, 22%) |
| HSV | hsv(340, 73%, 35%) |
| CMYK | cmyk(0%, 73.3%, 48.9%, 64.7%) |
| CIE-LAB | lab(20.14, 32.01, 2.57) |
| CIE-LCH | lch(20.14, 32.12, 4.59°) |
| OKLab | oklab(32.43% 0.0978 0.0069) |
| OKLCH | oklch(32.43% 0.098 4.1) |
| XYZ | xyz(5.0366, 3.0248, 2.9029) |
| Luminance | 0.0302 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.68
Maroon (survey)
#650021
ΔE00 5.90
Merlot
#730039
ΔE00 6.13
Bordeaux
#7B002C
ΔE00 7.96
Wine
#722F37
ΔE00 8.06
Wine (survey)
#80013F
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A182E #185A44
analogous
#5A184F #5A182E #5A2318
triadic
#5A182E #2E5A18 #182E5A
tetradic
#5A182E #4F5A18 #185A44 #23185A
square
#5A182E #4F5A18 #185A44 #23185A
split-complementary
#5A182E #185A23 #184F5A
monochromatic
#18060C #2A0B15 #5A182E #8A2547 #BB325F
Accessibility & contrast
On white
13.09
#5A182E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#5A182E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A182E
13.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A182E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A182E | 1.00 | 13.09 | 1.60 | 13.09 |
| #FFFFFF | 13.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26282F
Deuteranopia (green-blind)
#38352C
Tritanopia (blue-blind)
#620E21
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5a182e; /* rgb */ color: rgb(90, 24, 46); /* oklch */ color: oklch(32.4% 0.098 4.1);
Tailwind
colors: {
custom: {
50: '#8c5a66',
500: '#5a182e',
950: '#000000',
},
}SCSS
$custom: #5a182e; $custom-light: #8c5a66; $custom-dark: #000000;
JSON
{
"hex": "#5a182e",
"rgb": {
"r": 90,
"g": 24,
"b": 46
},
"hsl": {
"h": 340,
"s": 57.895,
"l": 22.353
},
"oklch": {
"l": 0.32429,
"c": 0.09807,
"h": 4.1
},
"luminance": 0.03024
}Semantic roles & 50–950 ramp
primary
#5A182E
secondary
#3D9175
accent
#E1AE47
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0D0405
muted
#7D797A