#5A143E#5A143E
#5A143E is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.6% C 0.111 H 348.2°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).
Color values
| HEX | #5A143E |
|---|---|
| RGB | rgb(90, 20, 62) |
| HSL | hsl(324, 64%, 22%) |
| HSV | hsv(324, 78%, 35%) |
| CMYK | cmyk(0%, 77.8%, 31.1%, 64.7%) |
| CIE-LAB | lab(20.13, 35.71, -8.64) |
| CIE-LCH | lch(20.13, 36.74, 346.40°) |
| OKLab | oklab(32.62% 0.1087 -0.0227) |
| OKLCH | oklch(32.62% 0.111 348.2) |
| XYZ | xyz(5.3364, 3.0224, 4.8588) |
| Luminance | 0.0302 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 1.96
Grape Purple
#5D1451
ΔE00 5.40
Velvet
#750851
ΔE00 5.97
Dark Plum
#3F012C
ΔE00 6.27
Merlot
#730039
ΔE00 6.92
Aubergine
#3D0734
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A143E #145A30
analogous
#53145A #5A143E #5A141B
triadic
#5A143E #3E5A14 #143E5A
tetradic
#5A143E #5A5314 #145A30 #141B5A
square
#5A143E #5A5314 #145A30 #141B5A
split-complementary
#5A143E #1B5A14 #145A53
monochromatic
#190611 #28091C #5A143E #8C1F60 #BE2A83
Accessibility & contrast
On white
13.09
#5A143E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#5A143E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A143E
13.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A143E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A143E | 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)
#1E293F
Deuteranopia (green-blind)
#33353C
Tritanopia (blue-blind)
#611127
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5a143e; /* rgb */ color: rgb(90, 20, 62); /* oklch */ color: oklch(32.6% 0.111 348.2);
Tailwind
colors: {
custom: {
50: '#8c5973',
500: '#5a143e',
950: '#000000',
},
}SCSS
$custom: #5a143e; $custom-light: #8c5973; $custom-dark: #000000;
JSON
{
"hex": "#5a143e",
"rgb": {
"r": 90,
"g": 20,
"b": 62
},
"hsl": {
"h": 324,
"s": 63.636,
"l": 21.569
},
"oklch": {
"l": 0.32618,
"c": 0.11108,
"h": 348.2
},
"luminance": 0.03022
}Semantic roles & 50–950 ramp
primary
#5A143E
secondary
#38925C
accent
#E78341
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0408
muted
#7D797B