#5A142D#5A142D
#5A142D is a dark, moderate pink. Relative luminance 0.029; OKLCH L 31.9% C 0.103 H 3.5°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).
Color values
| HEX | #5A142D |
|---|---|
| RGB | rgb(90, 20, 45) |
| HSL | hsl(339, 64%, 22%) |
| HSV | hsv(339, 78%, 35%) |
| CMYK | cmyk(0%, 77.8%, 50%, 64.7%) |
| CIE-LAB | lab(19.49, 33.62, 2.34) |
| CIE-LCH | lch(19.49, 33.71, 3.97°) |
| OKLab | oklab(31.94% 0.1029 0.0064) |
| OKLCH | oklch(31.94% 0.103 3.5) |
| XYZ | xyz(4.9407, 2.8641, 2.7748) |
| Luminance | 0.0286 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.31
Maroon (survey)
#650021
ΔE00 5.68
Merlot
#730039
ΔE00 5.73
Bordeaux
#7B002C
ΔE00 7.84
Wine (survey)
#80013F
ΔE00 7.86
Plum (survey)
#580F41
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A142D #145A41
analogous
#5A1450 #5A142D #5A1E14
triadic
#5A142D #2D5A14 #142D5A
tetradic
#5A142D #505A14 #145A41 #1E145A
square
#5A142D #505A14 #145A41 #1E145A
split-complementary
#5A142D #145A1E #14505A
monochromatic
#19060D #280914 #5A142D #8C1F46 #BE2A5F
Accessibility & contrast
On white
13.35
#5A142D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#5A142D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A142D
13.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A142D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A142D | 1.00 | 13.35 | 1.57 | 13.35 |
| #FFFFFF | 13.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24262E
Deuteranopia (green-blind)
#37342B
Tritanopia (blue-blind)
#62081E
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #5a142d; /* rgb */ color: rgb(90, 20, 45); /* oklch */ color: oklch(31.9% 0.103 3.5);
Tailwind
colors: {
custom: {
50: '#8d5865',
500: '#5a142d',
950: '#000000',
},
}SCSS
$custom: #5a142d; $custom-light: #8d5865; $custom-dark: #000000;
JSON
{
"hex": "#5a142d",
"rgb": {
"r": 90,
"g": 20,
"b": 45
},
"hsl": {
"h": 338.571,
"s": 63.636,
"l": 21.569
},
"oklch": {
"l": 0.31936,
"c": 0.1031,
"h": 3.5
},
"luminance": 0.02863
}Semantic roles & 50–950 ramp
primary
#5A142D
secondary
#389272
accent
#E7AC41
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0405
muted
#7E797A