#5A113B#5A113B
#5A113B is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.2% C 0.113 H 350.2°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).
Color values
| HEX | #5A113B |
|---|---|
| RGB | rgb(90, 17, 59) |
| HSL | hsl(325, 68%, 21%) |
| HSV | hsv(325, 81%, 35%) |
| CMYK | cmyk(0%, 81.1%, 34.4%, 64.7%) |
| CIE-LAB | lab(19.60, 36.44, -7.36) |
| CIE-LCH | lch(19.60, 37.17, 348.58°) |
| OKLab | oklab(32.19% 0.1115 -0.0192) |
| OKLCH | oklch(32.19% 0.113 350.2) |
| XYZ | xyz(5.2066, 2.8909, 4.4206) |
| Luminance | 0.0289 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 2.53
Grape Purple
#5D1451
ΔE00 6.12
Dark Plum
#3F012C
ΔE00 6.16
Velvet
#750851
ΔE00 6.22
Merlot
#730039
ΔE00 6.37
Aubergine
#3D0734
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A113B #115A30
analogous
#54115A #5A113B #5A1117
triadic
#5A113B #3B5A11 #113B5A
tetradic
#5A113B #5A5411 #115A30 #11175A
square
#5A113B #5A5411 #115A30 #11175A
split-complementary
#5A113B #175A11 #115A54
monochromatic
#1A0511 #270719 #5A113B #8D1B5D #C1247E
Accessibility & contrast
On white
13.31
#5A113B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#5A113B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A113B
13.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A113B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A113B | 1.00 | 13.31 | 1.58 | 13.31 |
| #FFFFFF | 13.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D273C
Deuteranopia (green-blind)
#323439
Tritanopia (blue-blind)
#610C24
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #5a113b; /* rgb */ color: rgb(90, 17, 59); /* oklch */ color: oklch(32.2% 0.113 350.2);
Tailwind
colors: {
custom: {
50: '#8c5771',
500: '#5a113b',
950: '#000000',
},
}SCSS
$custom: #5a113b; $custom-light: #8c5771; $custom-dark: #000000;
JSON
{
"hex": "#5a113b",
"rgb": {
"r": 90,
"g": 17,
"b": 59
},
"hsl": {
"h": 325.479,
"s": 68.224,
"l": 20.98
},
"oklch": {
"l": 0.32188,
"c": 0.11309,
"h": 350.2
},
"luminance": 0.0289
}Semantic roles & 50–950 ramp
primary
#5A113B
secondary
#34935C
accent
#EB873D
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0407
muted
#7D797A