#5A142A#5A142A
#5A142A is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.8% C 0.102 H 6.4°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).
Color values
| HEX | #5A142A |
|---|---|
| RGB | rgb(90, 20, 42) |
| HSL | hsl(341, 64%, 22%) |
| HSV | hsv(341, 78%, 35%) |
| CMYK | cmyk(0%, 77.8%, 53.3%, 64.7%) |
| CIE-LAB | lab(19.40, 33.32, 4.33) |
| CIE-LCH | lch(19.40, 33.60, 7.40°) |
| OKLab | oklab(31.84% 0.1017 0.0113) |
| OKLCH | oklch(31.84% 0.102 6.4) |
| XYZ | xyz(4.8849, 2.8418, 2.4813) |
| Luminance | 0.0284 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.53
Maroon (survey)
#650021
ΔE00 4.75
Merlot
#730039
ΔE00 6.26
Bordeaux
#7B002C
ΔE00 7.31
Wine
#722F37
ΔE00 8.04
Claret
#680018
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A142A #145A44
analogous
#5A144D #5A142A #5A2114
triadic
#5A142A #2A5A14 #142A5A
tetradic
#5A142A #4D5A14 #145A44 #21145A
square
#5A142A #4D5A14 #145A44 #21145A
split-complementary
#5A142A #145A21 #144D5A
monochromatic
#19060C #280913 #5A142A #8C1F41 #BE2A59
Accessibility & contrast
On white
13.39
#5A142A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#5A142A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A142A
13.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A142A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A142A | 1.00 | 13.39 | 1.57 | 13.39 |
| #FFFFFF | 13.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25262A
Deuteranopia (green-blind)
#373428
Tritanopia (blue-blind)
#63061D
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #5a142a; /* rgb */ color: rgb(90, 20, 42); /* oklch */ color: oklch(31.8% 0.102 6.4);
Tailwind
colors: {
custom: {
50: '#8d5863',
500: '#5a142a',
950: '#000000',
},
}SCSS
$custom: #5a142a; $custom-light: #8d5863; $custom-dark: #000000;
JSON
{
"hex": "#5a142a",
"rgb": {
"r": 90,
"g": 20,
"b": 42
},
"hsl": {
"h": 341.143,
"s": 63.636,
"l": 21.569
},
"oklch": {
"l": 0.31838,
"c": 0.10228,
"h": 6.4
},
"luminance": 0.02841
}Semantic roles & 50–950 ramp
primary
#5A142A
secondary
#389276
accent
#E7B341
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0405
muted
#7E7979