#5F172B#5F172B
#5F172B is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.2% C 0.104 H 8.4°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).
Color values
| HEX | #5F172B |
|---|---|
| RGB | rgb(95, 23, 43) |
| HSL | hsl(343, 61%, 23%) |
| HSV | hsv(343, 76%, 37%) |
| CMYK | cmyk(0%, 75.8%, 54.7%, 62.7%) |
| CIE-LAB | lab(20.91, 33.87, 5.90) |
| CIE-LCH | lch(20.91, 34.38, 9.88°) |
| OKLab | oklab(33.16% 0.103 0.0152) |
| OKLCH | oklch(33.16% 0.104 8.4) |
| XYZ | xyz(5.4622, 3.2208, 2.6191) |
| Luminance | 0.0322 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.24
Maroon (survey)
#650021
ΔE00 4.03
Merlot
#730039
ΔE00 6.17
Bordeaux
#7B002C
ΔE00 6.23
Wine
#722F37
ΔE00 6.77
Claret
#680018
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F172B #175F4B
analogous
#5F174F #5F172B #5F2717
triadic
#5F172B #2B5F17 #172B5F
tetradic
#5F172B #4F5F17 #175F4B #27175F
square
#5F172B #4F5F17 #175F4B #27175F
split-complementary
#5F172B #175F27 #174F5F
monochromatic
#19060B #2E0B15 #5F172B #902341 #C22F58
Accessibility & contrast
On white
12.77
#5F172B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#5F172B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F172B
12.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F172B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F172B | 1.00 | 12.77 | 1.64 | 12.77 |
| #FFFFFF | 12.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28292B
Deuteranopia (green-blind)
#3B3829
Tritanopia (blue-blind)
#68081F
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #5f172b; /* rgb */ color: rgb(95, 23, 43); /* oklch */ color: oklch(33.2% 0.104 8.4);
Tailwind
colors: {
custom: {
50: '#915a64',
500: '#5f172b',
950: '#000000',
},
}SCSS
$custom: #5f172b; $custom-light: #915a64; $custom-dark: #000000;
JSON
{
"hex": "#5f172b",
"rgb": {
"r": 95,
"g": 23,
"b": 43
},
"hsl": {
"h": 343.333,
"s": 61.017,
"l": 23.137
},
"oklch": {
"l": 0.33155,
"c": 0.10413,
"h": 8.4
},
"luminance": 0.0322
}Semantic roles & 50–950 ramp
primary
#5F172B
secondary
#3C967D
accent
#E4B844
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0D0405
muted
#7E7979