#5F162F#5F162F
#5F162F is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.2% C 0.106 H 4.4°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).
Color values
| HEX | #5F162F |
|---|---|
| RGB | rgb(95, 22, 47) |
| HSL | hsl(339, 62%, 23%) |
| HSV | hsv(339, 77%, 37%) |
| CMYK | cmyk(0%, 76.8%, 50.5%, 62.7%) |
| CIE-LAB | lab(20.88, 34.68, 3.05) |
| CIE-LCH | lch(20.88, 34.81, 5.03°) |
| OKLab | oklab(33.17% 0.106 0.0082) |
| OKLCH | oklch(33.17% 0.106 4.4) |
| XYZ | xyz(5.5198, 3.2127, 3.0182) |
| Luminance | 0.0321 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.00
Merlot
#730039
ΔE00 5.07
Maroon (survey)
#650021
ΔE00 5.21
Bordeaux
#7B002C
ΔE00 6.89
Wine (survey)
#80013F
ΔE00 7.01
Wine
#722F37
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F162F #165F46
analogous
#5F1653 #5F162F #5F2116
triadic
#5F162F #2F5F16 #162F5F
tetradic
#5F162F #535F16 #165F46 #21165F
square
#5F162F #535F16 #165F46 #21165F
split-complementary
#5F162F #165F21 #16535F
monochromatic
#19060C #2D0A16 #5F162F #912248 #C22D60
Accessibility & contrast
On white
12.79
#5F162F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#5F162F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F162F
12.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F162F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F162F | 1.00 | 12.79 | 1.64 | 12.79 |
| #FFFFFF | 12.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#272930
Deuteranopia (green-blind)
#3A372D
Tritanopia (blue-blind)
#680920
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #5f162f; /* rgb */ color: rgb(95, 22, 47); /* oklch */ color: oklch(33.2% 0.106 4.4);
Tailwind
colors: {
custom: {
50: '#915a67',
500: '#5f162f',
950: '#000000',
},
}SCSS
$custom: #5f162f; $custom-light: #915a67; $custom-dark: #000000;
JSON
{
"hex": "#5f162f",
"rgb": {
"r": 95,
"g": 22,
"b": 47
},
"hsl": {
"h": 339.452,
"s": 62.393,
"l": 22.941
},
"oklch": {
"l": 0.3317,
"c": 0.10633,
"h": 4.4
},
"luminance": 0.03212
}Semantic roles & 50–950 ramp
primary
#5F162F
secondary
#3B9677
accent
#E5AE42
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0406
muted
#7E797A