#5B173F#5B173F
#5B173F is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.2% C 0.108 H 348.4°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).
Color values
| HEX | #5B173F |
|---|---|
| RGB | rgb(91, 23, 63) |
| HSL | hsl(325, 60%, 22%) |
| HSV | hsv(325, 75%, 36%) |
| CMYK | cmyk(0%, 74.7%, 30.8%, 64.3%) |
| CIE-LAB | lab(20.81, 34.93, -8.28) |
| CIE-LCH | lch(20.81, 35.90, 346.66°) |
| OKLab | oklab(33.17% 0.1062 -0.0217) |
| OKLCH | oklch(33.17% 0.108 348.4) |
| XYZ | xyz(5.5182, 3.1964, 5.0280) |
| Luminance | 0.0320 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 2.38
Grape Purple
#5D1451
ΔE00 5.54
Velvet
#750851
ΔE00 5.95
Dark Plum
#3F012C
ΔE00 6.70
Merlot
#730039
ΔE00 6.85
Rich Purple
#720058
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B173F #175B33
analogous
#55175B #5B173F #5B171D
triadic
#5B173F #3F5B17 #173F5B
tetradic
#5B173F #5B5517 #175B33 #171D5B
square
#5B173F #5B5517 #175B33 #171D5B
split-complementary
#5B173F #1D5B17 #175B55
monochromatic
#180611 #2A0B1D #5B173F #8C2361 #BD3083
Accessibility & contrast
On white
12.81
#5B173F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#5B173F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B173F
12.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B173F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B173F | 1.00 | 12.81 | 1.64 | 12.81 |
| #FFFFFF | 12.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#202A40
Deuteranopia (green-blind)
#34363D
Tritanopia (blue-blind)
#621428
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #5b173f; /* rgb */ color: rgb(91, 23, 63); /* oklch */ color: oklch(33.2% 0.108 348.4);
Tailwind
colors: {
custom: {
50: '#8c5a74',
500: '#5b173f',
950: '#000000',
},
}SCSS
$custom: #5b173f; $custom-light: #8c5a74; $custom-dark: #000000;
JSON
{
"hex": "#5b173f",
"rgb": {
"r": 91,
"g": 23,
"b": 63
},
"hsl": {
"h": 324.706,
"s": 59.649,
"l": 22.353
},
"oklch": {
"l": 0.33167,
"c": 0.10843,
"h": 348.4
},
"luminance": 0.03196
}Semantic roles & 50–950 ramp
primary
#5B173F
secondary
#3C925F
accent
#E38645
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B