#5B102B#5B102B
#5B102B is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.7% C 0.108 H 4.5°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).
Color values
| HEX | #5B102B |
|---|---|
| RGB | rgb(91, 16, 43) |
| HSL | hsl(338, 70%, 21%) |
| HSV | hsv(338, 82%, 36%) |
| CMYK | cmyk(0%, 82.4%, 52.7%, 64.3%) |
| CIE-LAB | lab(19.10, 35.26, 3.22) |
| CIE-LCH | lch(19.10, 35.41, 5.22°) |
| OKLab | oklab(31.66% 0.1079 0.0086) |
| OKLCH | oklch(31.66% 0.108 4.5) |
| XYZ | xyz(4.9361, 2.7698, 2.5597) |
| Luminance | 0.0277 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.51
Maroon (survey)
#650021
ΔE00 4.96
Merlot
#730039
ΔE00 5.49
Bordeaux
#7B002C
ΔE00 7.31
Wine (survey)
#80013F
ΔE00 7.66
Plum (survey)
#580F41
ΔE00 8.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B102B #105B40
analogous
#5B1050 #5B102B #5B1A10
triadic
#5B102B #2B5B10 #102B5B
tetradic
#5B102B #505B10 #105B40 #1A105B
square
#5B102B #505B10 #105B40 #1A105B
split-complementary
#5B102B #105B1A #10505B
monochromatic
#1A050C #270712 #5B102B #8F1944 #C3225C
Accessibility & contrast
On white
13.52
#5B102B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#5B102B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B102B
13.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B102B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B102B | 1.00 | 13.52 | 1.55 | 13.52 |
| #FFFFFF | 13.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23252C
Deuteranopia (green-blind)
#363429
Tritanopia (blue-blind)
#64011C
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #5b102b; /* rgb */ color: rgb(91, 16, 43); /* oklch */ color: oklch(31.7% 0.108 4.5);
Tailwind
colors: {
custom: {
50: '#8e5764',
500: '#5b102b',
950: '#000000',
},
}SCSS
$custom: #5b102b; $custom-light: #8e5764; $custom-dark: #000000;
JSON
{
"hex": "#5b102b",
"rgb": {
"r": 91,
"g": 16,
"b": 43
},
"hsl": {
"h": 338.4,
"s": 70.093,
"l": 20.98
},
"oklch": {
"l": 0.31664,
"c": 0.10825,
"h": 4.5
},
"luminance": 0.02769
}Semantic roles & 50–950 ramp
primary
#5B102B
secondary
#339471
accent
#EDAD3B
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0305
muted
#7E7879