#5A113E#5A113E
#5A113E is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.3% C 0.115 H 347.8°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).
Color values
| HEX | #5A113E |
|---|---|
| RGB | rgb(90, 17, 62) |
| HSL | hsl(323, 68%, 21%) |
| HSV | hsv(323, 81%, 35%) |
| CMYK | cmyk(0%, 81.1%, 31.1%, 64.7%) |
| CIE-LAB | lab(19.73, 36.84, -9.25) |
| CIE-LCH | lch(19.73, 37.98, 345.90°) |
| OKLab | oklab(32.33% 0.1123 -0.0244) |
| OKLCH | oklch(32.33% 0.115 347.8) |
| XYZ | xyz(5.2867, 2.9230, 4.8423) |
| Luminance | 0.0292 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 1.55
Grape Purple
#5D1451
ΔE00 5.14
Velvet
#750851
ΔE00 5.79
Dark Plum
#3F012C
ΔE00 6.06
Rich Purple
#720058
ΔE00 6.75
Aubergine
#3D0734
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A113E #115A2D
analogous
#51115A #5A113E #5A1119
triadic
#5A113E #3E5A11 #113E5A
tetradic
#5A113E #5A5111 #115A2D #11195A
square
#5A113E #5A5111 #115A2D #11195A
split-complementary
#5A113E #195A11 #115A51
monochromatic
#1A0512 #27071B #5A113E #8D1B61 #C12485
Accessibility & contrast
On white
13.25
#5A113E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#5A113E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A113E
13.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A113E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A113E | 1.00 | 13.25 | 1.58 | 13.25 |
| #FFFFFF | 13.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C283F
Deuteranopia (green-blind)
#32343C
Tritanopia (blue-blind)
#610E26
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5a113e; /* rgb */ color: rgb(90, 17, 62); /* oklch */ color: oklch(32.3% 0.115 347.8);
Tailwind
colors: {
custom: {
50: '#8c5873',
500: '#5a113e',
950: '#000000',
},
}SCSS
$custom: #5a113e; $custom-light: #8c5873; $custom-dark: #000000;
JSON
{
"hex": "#5a113e",
"rgb": {
"r": 90,
"g": 17,
"b": 62
},
"hsl": {
"h": 323.014,
"s": 68.224,
"l": 20.98
},
"oklch": {
"l": 0.32326,
"c": 0.11486,
"h": 347.8
},
"luminance": 0.02922
}Semantic roles & 50–950 ramp
primary
#5A113E
secondary
#349358
accent
#EB803D
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0408
muted
#7D797B