#5A112D#5A112D
#5A112D is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.6% C 0.107 H 2.6°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).
Color values
| HEX | #5A112D |
|---|---|
| RGB | rgb(90, 17, 45) |
| HSL | hsl(337, 68%, 21%) |
| HSV | hsv(337, 81%, 35%) |
| CMYK | cmyk(0%, 81.1%, 50%, 64.7%) |
| CIE-LAB | lab(19.08, 34.79, 1.74) |
| CIE-LCH | lch(19.08, 34.83, 2.86°) |
| OKLab | oklab(31.63% 0.1066 0.0048) |
| OKLCH | oklch(31.63% 0.107 2.6) |
| XYZ | xyz(4.8910, 2.7647, 2.7582) |
| Luminance | 0.0276 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.34
Merlot
#730039
ΔE00 5.43
Maroon (survey)
#650021
ΔE00 5.83
Plum (survey)
#580F41
ΔE00 7.65
Wine (survey)
#80013F
ΔE00 7.69
Bordeaux
#7B002C
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A112D #115A3E
analogous
#5A1151 #5A112D #5A1911
triadic
#5A112D #2D5A11 #112D5A
tetradic
#5A112D #515A11 #115A3E #19115A
square
#5A112D #515A11 #115A3E #19115A
split-complementary
#5A112D #115A19 #11515A
monochromatic
#1A050D #270713 #5A112D #8D1B47 #C12460
Accessibility & contrast
On white
13.52
#5A112D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#5A112D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A112D
13.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A112D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A112D | 1.00 | 13.52 | 1.55 | 13.52 |
| #FFFFFF | 13.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#22252E
Deuteranopia (green-blind)
#36332B
Tritanopia (blue-blind)
#62041D
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #5a112d; /* rgb */ color: rgb(90, 17, 45); /* oklch */ color: oklch(31.6% 0.107 2.6);
Tailwind
colors: {
custom: {
50: '#8d5765',
500: '#5a112d',
950: '#000000',
},
}SCSS
$custom: #5a112d; $custom-light: #8d5765; $custom-dark: #000000;
JSON
{
"hex": "#5a112d",
"rgb": {
"r": 90,
"g": 17,
"b": 45
},
"hsl": {
"h": 336.986,
"s": 68.224,
"l": 20.98
},
"oklch": {
"l": 0.3163,
"c": 0.10674,
"h": 2.6
},
"luminance": 0.02764
}Semantic roles & 50–950 ramp
primary
#5A112D
secondary
#34936E
accent
#EBA83D
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0305
muted
#7E787A