#5B102F#5B102F
#5B102F is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.8% C 0.110 H 1.0°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).
Color values
| HEX | #5B102F |
|---|---|
| RGB | rgb(91, 16, 47) |
| HSL | hsl(335, 70%, 21%) |
| HSV | hsv(335, 82%, 36%) |
| CMYK | cmyk(0%, 82.4%, 48.4%, 64.3%) |
| CIE-LAB | lab(19.23, 35.67, 0.56) |
| CIE-LCH | lch(19.23, 35.68, 0.90°) |
| OKLab | oklab(31.8% 0.1095 0.0019) |
| OKLCH | oklch(31.8% 0.11 1) |
| XYZ | xyz(5.0132, 2.8006, 2.9654) |
| Luminance | 0.0280 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.83
Merlot
#730039
ΔE00 5.02
Maroon (survey)
#650021
ΔE00 6.35
Plum (survey)
#580F41
ΔE00 6.93
Wine (survey)
#80013F
ΔE00 7.37
Red Purple
#820747
ΔE00 8.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B102F #105B3C
analogous
#5B1054 #5B102F #5B1610
triadic
#5B102F #2F5B10 #102F5B
tetradic
#5B102F #545B10 #105B3C #16105B
square
#5B102F #545B10 #105B3C #16105B
split-complementary
#5B102F #105B16 #10545B
monochromatic
#1A050D #270714 #5B102F #8F194A #C32265
Accessibility & contrast
On white
13.46
#5B102F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#5B102F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B102F
13.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B102F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B102F | 1.00 | 13.46 | 1.56 | 13.46 |
| #FFFFFF | 13.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#212530
Deuteranopia (green-blind)
#36342D
Tritanopia (blue-blind)
#63031E
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #5b102f; /* rgb */ color: rgb(91, 16, 47); /* oklch */ color: oklch(31.8% 0.110 1.0);
Tailwind
colors: {
custom: {
50: '#8e5767',
500: '#5b102f',
950: '#000000',
},
}SCSS
$custom: #5b102f; $custom-light: #8e5767; $custom-dark: #000000;
JSON
{
"hex": "#5b102f",
"rgb": {
"r": 91,
"g": 16,
"b": 47
},
"hsl": {
"h": 335.2,
"s": 70.093,
"l": 20.98
},
"oklch": {
"l": 0.31802,
"c": 0.10952,
"h": 1
},
"luminance": 0.028
}Semantic roles & 50–950 ramp
primary
#5B102F
secondary
#33946C
accent
#EDA33B
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0306
muted
#7E787A