#5F162A#5F162A
#5F162A is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.0% C 0.105 H 8.9°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).
Color values
| HEX | #5F162A |
|---|---|
| RGB | rgb(95, 22, 42) |
| HSL | hsl(344, 62%, 23%) |
| HSV | hsv(344, 77%, 37%) |
| CMYK | cmyk(0%, 76.8%, 55.8%, 62.7%) |
| CIE-LAB | lab(20.73, 34.19, 6.35) |
| CIE-LCH | lch(20.73, 34.77, 10.53°) |
| OKLab | oklab(33.01% 0.1039 0.0163) |
| OKLCH | oklch(33.01% 0.105 8.9) |
| XYZ | xyz(5.4246, 3.1746, 2.5172) |
| Luminance | 0.0317 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.00
Maroon (survey)
#650021
ΔE00 3.74
Bordeaux
#7B002C
ΔE00 6.09
Merlot
#730039
ΔE00 6.27
Wine
#722F37
ΔE00 6.81
Claret
#680018
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F162A #165F4B
analogous
#5F164E #5F162A #5F2716
triadic
#5F162A #2A5F16 #162A5F
tetradic
#5F162A #4E5F16 #165F4B #27165F
square
#5F162A #4E5F16 #165F4B #27165F
split-complementary
#5F162A #165F27 #164E5F
monochromatic
#19060B #2D0A14 #5F162A #912240 #C22D56
Accessibility & contrast
On white
12.85
#5F162A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#5F162A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F162A
12.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F162A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F162A | 1.00 | 12.85 | 1.63 | 12.85 |
| #FFFFFF | 12.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28292A
Deuteranopia (green-blind)
#3B3728
Tritanopia (blue-blind)
#68061E
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #5f162a; /* rgb */ color: rgb(95, 22, 42); /* oklch */ color: oklch(33.0% 0.105 8.9);
Tailwind
colors: {
custom: {
50: '#915a63',
500: '#5f162a',
950: '#000000',
},
}SCSS
$custom: #5f162a; $custom-light: #915a63; $custom-dark: #000000;
JSON
{
"hex": "#5f162a",
"rgb": {
"r": 95,
"g": 22,
"b": 42
},
"hsl": {
"h": 343.562,
"s": 62.393,
"l": 22.941
},
"oklch": {
"l": 0.33014,
"c": 0.10519,
"h": 8.9
},
"luminance": 0.03174
}Semantic roles & 50–950 ramp
primary
#5F162A
secondary
#3B967D
accent
#E5B942
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0D0405
muted
#7E7979