#5B102A#5B102A
#5B102A is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.6% C 0.108 H 5.4°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).
Color values
| HEX | #5B102A |
|---|---|
| RGB | rgb(91, 16, 42) |
| HSL | hsl(339, 70%, 21%) |
| HSV | hsv(339, 82%, 36%) |
| CMYK | cmyk(0%, 82.4%, 53.8%, 64.3%) |
| CIE-LAB | lab(19.07, 35.17, 3.89) |
| CIE-LCH | lch(19.07, 35.38, 6.31°) |
| OKLab | oklab(31.63% 0.1075 0.0102) |
| OKLCH | oklch(31.63% 0.108 5.4) |
| XYZ | xyz(4.9180, 2.7626, 2.4643) |
| Luminance | 0.0276 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.21
Maroon (survey)
#650021
ΔE00 4.63
Merlot
#730039
ΔE00 5.68
Bordeaux
#7B002C
ΔE00 7.13
Wine (survey)
#80013F
ΔE00 7.79
Claret
#680018
ΔE00 8.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B102A #105B41
analogous
#5B104F #5B102A #5B1B10
triadic
#5B102A #2A5B10 #102A5B
tetradic
#5B102A #4F5B10 #105B41 #1B105B
square
#5B102A #4F5B10 #105B41 #1B105B
split-complementary
#5B102A #105B1B #104F5B
monochromatic
#1A050C #270712 #5B102A #8F1942 #C3225A
Accessibility & contrast
On white
13.53
#5B102A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#5B102A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B102A
13.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B102A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B102A | 1.00 | 13.53 | 1.55 | 13.53 |
| #FFFFFF | 13.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23252B
Deuteranopia (green-blind)
#373428
Tritanopia (blue-blind)
#64001B
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #5b102a; /* rgb */ color: rgb(91, 16, 42); /* oklch */ color: oklch(31.6% 0.108 5.4);
Tailwind
colors: {
custom: {
50: '#8e5763',
500: '#5b102a',
950: '#000000',
},
}SCSS
$custom: #5b102a; $custom-light: #8e5763; $custom-dark: #000000;
JSON
{
"hex": "#5b102a",
"rgb": {
"r": 91,
"g": 16,
"b": 42
},
"hsl": {
"h": 339.2,
"s": 70.093,
"l": 20.98
},
"oklch": {
"l": 0.31632,
"c": 0.10798,
"h": 5.4
},
"luminance": 0.02762
}Semantic roles & 50–950 ramp
primary
#5B102A
secondary
#339472
accent
#EDAF3B
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0305
muted
#7E7879