#5A112B#5A112B
#5A112B is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.6% C 0.106 H 4.4°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).
Color values
| HEX | #5A112B |
|---|---|
| RGB | rgb(90, 17, 43) |
| HSL | hsl(339, 68%, 21%) |
| HSV | hsv(339, 81%, 35%) |
| CMYK | cmyk(0%, 81.1%, 52.2%, 64.7%) |
| CIE-LAB | lab(19.01, 34.59, 3.07) |
| CIE-LCH | lch(19.01, 34.72, 5.07°) |
| OKLab | oklab(31.56% 0.1058 0.0082) |
| OKLCH | oklch(31.56% 0.106 4.4) |
| XYZ | xyz(4.8534, 2.7496, 2.5602) |
| Luminance | 0.0275 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.72
Maroon (survey)
#650021
ΔE00 5.15
Merlot
#730039
ΔE00 5.70
Bordeaux
#7B002C
ΔE00 7.54
Wine (survey)
#80013F
ΔE00 7.87
Plum (survey)
#580F41
ΔE00 8.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A112B #115A40
analogous
#5A114F #5A112B #5A1B11
triadic
#5A112B #2B5A11 #112B5A
tetradic
#5A112B #4F5A11 #115A40 #1B115A
square
#5A112B #4F5A11 #115A40 #1B115A
split-complementary
#5A112B #115A1B #114F5A
monochromatic
#1A050C #270712 #5A112B #8D1B44 #C1245C
Accessibility & contrast
On white
13.55
#5A112B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#5A112B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A112B
13.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A112B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A112B | 1.00 | 13.55 | 1.55 | 13.55 |
| #FFFFFF | 13.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23252C
Deuteranopia (green-blind)
#363329
Tritanopia (blue-blind)
#63031C
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #5a112b; /* rgb */ color: rgb(90, 17, 43); /* oklch */ color: oklch(31.6% 0.106 4.4);
Tailwind
colors: {
custom: {
50: '#8d5764',
500: '#5a112b',
950: '#000000',
},
}SCSS
$custom: #5a112b; $custom-light: #8d5764; $custom-dark: #000000;
JSON
{
"hex": "#5a112b",
"rgb": {
"r": 90,
"g": 17,
"b": 43
},
"hsl": {
"h": 338.63,
"s": 68.224,
"l": 20.98
},
"oklch": {
"l": 0.31562,
"c": 0.10614,
"h": 4.4
},
"luminance": 0.02749
}Semantic roles & 50–950 ramp
primary
#5A112B
secondary
#349371
accent
#EBAD3D
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0305
muted
#7E7879