#5A182F#5A182F
#5A182F is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.5% C 0.098 H 3.1°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).
Color values
| HEX | #5A182F |
|---|---|
| RGB | rgb(90, 24, 47) |
| HSL | hsl(339, 58%, 22%) |
| HSV | hsv(339, 73%, 35%) |
| CMYK | cmyk(0%, 73.3%, 47.8%, 64.7%) |
| CIE-LAB | lab(20.17, 32.13, 1.91) |
| CIE-LCH | lch(20.17, 32.18, 3.40°) |
| OKLab | oklab(32.46% 0.0982 0.0053) |
| OKLCH | oklch(32.46% 0.098 3.1) |
| XYZ | xyz(5.0566, 3.0328, 3.0079) |
| Luminance | 0.0303 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.94
Merlot
#730039
ΔE00 6.00
Maroon (survey)
#650021
ΔE00 6.20
Plum (survey)
#580F41
ΔE00 7.98
Wine (survey)
#80013F
ΔE00 8.02
Bordeaux
#7B002C
ΔE00 8.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A182F #185A43
analogous
#5A1850 #5A182F #5A2218
triadic
#5A182F #2F5A18 #182F5A
tetradic
#5A182F #505A18 #185A43 #22185A
square
#5A182F #505A18 #185A43 #22185A
split-complementary
#5A182F #185A22 #18505A
monochromatic
#18060D #2A0B16 #5A182F #8A2548 #BB3261
Accessibility & contrast
On white
13.07
#5A182F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#5A182F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A182F
13.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A182F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A182F | 1.00 | 13.07 | 1.61 | 13.07 |
| #FFFFFF | 13.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#262930
Deuteranopia (green-blind)
#38352D
Tritanopia (blue-blind)
#620F21
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5a182f; /* rgb */ color: rgb(90, 24, 47); /* oklch */ color: oklch(32.5% 0.098 3.1);
Tailwind
colors: {
custom: {
50: '#8c5a67',
500: '#5a182f',
950: '#000000',
},
}SCSS
$custom: #5a182f; $custom-light: #8c5a67; $custom-dark: #000000;
JSON
{
"hex": "#5a182f",
"rgb": {
"r": 90,
"g": 24,
"b": 47
},
"hsl": {
"h": 339.091,
"s": 57.895,
"l": 22.353
},
"oklch": {
"l": 0.32463,
"c": 0.09837,
"h": 3.1
},
"luminance": 0.03032
}Semantic roles & 50–950 ramp
primary
#5A182F
secondary
#3D9174
accent
#E1AB47
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0D0406
muted
#7D797A