#5B162F#5B162F
#5B162F is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.4% C 0.102 H 2.8°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).
Color values
| HEX | #5B162F |
|---|---|
| RGB | rgb(91, 22, 47) |
| HSL | hsl(338, 61%, 22%) |
| HSV | hsv(338, 76%, 36%) |
| CMYK | cmyk(0%, 75.8%, 48.4%, 64.3%) |
| CIE-LAB | lab(20.06, 33.34, 1.77) |
| CIE-LCH | lch(20.06, 33.39, 3.04°) |
| OKLab | oklab(32.42% 0.1021 0.0049) |
| OKLCH | oklch(32.42% 0.102 2.8) |
| XYZ | xyz(5.1148, 3.0039, 2.9992) |
| Luminance | 0.0300 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.70
Merlot
#730039
ΔE00 5.58
Maroon (survey)
#650021
ΔE00 6.04
Wine (survey)
#80013F
ΔE00 7.67
Plum (survey)
#580F41
ΔE00 7.78
Bordeaux
#7B002C
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B162F #165B42
analogous
#5B1652 #5B162F #5B2016
triadic
#5B162F #2F5B16 #162F5B
tetradic
#5B162F #525B16 #165B42 #20165B
square
#5B162F #525B16 #165B42 #20165B
split-complementary
#5B162F #165B20 #16525B
monochromatic
#19060D #2A0A16 #5B162F #8C2248 #BE2E62
Accessibility & contrast
On white
13.12
#5B162F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#5B162F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B162F
13.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B162F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B162F | 1.00 | 13.12 | 1.60 | 13.12 |
| #FFFFFF | 13.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#252830
Deuteranopia (green-blind)
#37352D
Tritanopia (blue-blind)
#630B20
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5b162f; /* rgb */ color: rgb(91, 22, 47); /* oklch */ color: oklch(32.4% 0.102 2.8);
Tailwind
colors: {
custom: {
50: '#8d5967',
500: '#5b162f',
950: '#000000',
},
}SCSS
$custom: #5b162f; $custom-light: #8d5967; $custom-dark: #000000;
JSON
{
"hex": "#5b162f",
"rgb": {
"r": 91,
"g": 22,
"b": 47
},
"hsl": {
"h": 338.261,
"s": 61.062,
"l": 22.157
},
"oklch": {
"l": 0.32415,
"c": 0.10217,
"h": 2.8
},
"luminance": 0.03003
}Semantic roles & 50–950 ramp
primary
#5B162F
secondary
#3B9272
accent
#E4AA44
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A