#5B123A#5B123A
#5B123A is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.4% C 0.112 H 351.8°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).
Color values
| HEX | #5B123A |
|---|---|
| RGB | rgb(91, 18, 58) |
| HSL | hsl(327, 67%, 21%) |
| HSV | hsv(327, 80%, 36%) |
| CMYK | cmyk(0%, 80.2%, 36.3%, 64.3%) |
| CIE-LAB | lab(19.89, 36.24, -6.20) |
| CIE-LCH | lch(19.89, 36.77, 350.30°) |
| OKLab | oklab(32.43% 0.111 -0.016) |
| OKLCH | oklch(32.43% 0.112 351.8) |
| XYZ | xyz(5.2947, 2.9629, 4.2952) |
| Luminance | 0.0296 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 3.18
Merlot
#730039
ΔE00 5.91
Velvet
#750851
ΔE00 6.38
Dark Plum
#3F012C
ΔE00 6.54
Grape Purple
#5D1451
ΔE00 6.69
Aubergine
#3D0734
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B123A #125B33
analogous
#58125B #5B123A #5B1216
triadic
#5B123A #3A5B12 #123A5B
tetradic
#5B123A #5B5812 #125B33 #12165B
square
#5B123A #5B5812 #125B33 #12165B
split-complementary
#5B123A #165B12 #125B58
monochromatic
#1A0510 #280819 #5B123A #8E1C5B #C1267B
Accessibility & contrast
On white
13.19
#5B123A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#5B123A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B123A
13.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B123A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B123A | 1.00 | 13.19 | 1.59 | 13.19 |
| #FFFFFF | 13.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F283B
Deuteranopia (green-blind)
#343538
Tritanopia (blue-blind)
#620C24
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5b123a; /* rgb */ color: rgb(91, 18, 58); /* oklch */ color: oklch(32.4% 0.112 351.8);
Tailwind
colors: {
custom: {
50: '#8d5870',
500: '#5b123a',
950: '#000000',
},
}SCSS
$custom: #5b123a; $custom-light: #8d5870; $custom-dark: #000000;
JSON
{
"hex": "#5b123a",
"rgb": {
"r": 91,
"g": 18,
"b": 58
},
"hsl": {
"h": 327.123,
"s": 66.972,
"l": 21.373
},
"oklch": {
"l": 0.32426,
"c": 0.11215,
"h": 351.8
},
"luminance": 0.02962
}Semantic roles & 50–950 ramp
primary
#5B123A
secondary
#359360
accent
#EA8C3E
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0D0407
muted
#7D797A