#5F162B#5F162B
#5F162B is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.0% C 0.105 H 8.0°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).
Color values
| HEX | #5F162B |
|---|---|
| RGB | rgb(95, 22, 43) |
| HSL | hsl(343, 62%, 23%) |
| HSV | hsv(343, 77%, 37%) |
| CMYK | cmyk(0%, 76.8%, 54.7%, 62.7%) |
| CIE-LAB | lab(20.76, 34.28, 5.69) |
| CIE-LCH | lch(20.76, 34.75, 9.43°) |
| OKLab | oklab(33.04% 0.1044 0.0147) |
| OKLCH | oklch(33.04% 0.105 8) |
| XYZ | xyz(5.4427, 3.1819, 2.6126) |
| Luminance | 0.0318 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.12
Maroon (survey)
#650021
ΔE00 4.00
Merlot
#730039
ΔE00 5.99
Bordeaux
#7B002C
ΔE00 6.21
Wine
#722F37
ΔE00 6.96
Claret
#680018
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F162B #165F4A
analogous
#5F164F #5F162B #5F2616
triadic
#5F162B #2B5F16 #162B5F
tetradic
#5F162B #4F5F16 #165F4A #26165F
square
#5F162B #4F5F16 #165F4A #26165F
split-complementary
#5F162B #165F26 #164F5F
monochromatic
#19060B #2D0A15 #5F162B #912241 #C22D58
Accessibility & contrast
On white
12.83
#5F162B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#5F162B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F162B
12.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F162B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F162B | 1.00 | 12.83 | 1.64 | 12.83 |
| #FFFFFF | 12.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28292B
Deuteranopia (green-blind)
#3B3729
Tritanopia (blue-blind)
#68071F
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #5f162b; /* rgb */ color: rgb(95, 22, 43); /* oklch */ color: oklch(33.0% 0.105 8.0);
Tailwind
colors: {
custom: {
50: '#915a64',
500: '#5f162b',
950: '#000000',
},
}SCSS
$custom: #5f162b; $custom-light: #915a64; $custom-dark: #000000;
JSON
{
"hex": "#5f162b",
"rgb": {
"r": 95,
"g": 22,
"b": 43
},
"hsl": {
"h": 342.74,
"s": 62.393,
"l": 22.941
},
"oklch": {
"l": 0.33044,
"c": 0.10538,
"h": 8
},
"luminance": 0.03181
}Semantic roles & 50–950 ramp
primary
#5F162B
secondary
#3B967C
accent
#E5B742
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0D0405
muted
#7E7979