#5F172D#5F172D
#5F172D is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.2% C 0.105 H 6.6°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).
Color values
| HEX | #5F172D |
|---|---|
| RGB | rgb(95, 23, 45) |
| HSL | hsl(342, 61%, 23%) |
| HSV | hsv(342, 76%, 37%) |
| CMYK | cmyk(0%, 75.8%, 52.6%, 62.7%) |
| CIE-LAB | lab(20.96, 34.06, 4.58) |
| CIE-LCH | lch(20.96, 34.37, 7.66°) |
| OKLab | oklab(33.22% 0.1039 0.012) |
| OKLCH | oklch(33.22% 0.105 6.6) |
| XYZ | xyz(5.4998, 3.2359, 2.8171) |
| Luminance | 0.0323 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.57
Maroon (survey)
#650021
ΔE00 4.58
Merlot
#730039
ΔE00 5.65
Bordeaux
#7B002C
ΔE00 6.51
Wine
#722F37
ΔE00 7.12
Wine (survey)
#80013F
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F172D #175F49
analogous
#5F1751 #5F172D #5F2517
triadic
#5F172D #2D5F17 #172D5F
tetradic
#5F172D #515F17 #175F49 #25175F
square
#5F172D #515F17 #175F49 #25175F
split-complementary
#5F172D #175F25 #17515F
monochromatic
#19060C #2E0B16 #5F172D #902344 #C22F5C
Accessibility & contrast
On white
12.75
#5F172D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#5F172D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F172D
12.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F172D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F172D | 1.00 | 12.75 | 1.65 | 12.75 |
| #FFFFFF | 12.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28292D
Deuteranopia (green-blind)
#3B382B
Tritanopia (blue-blind)
#680920
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #5f172d; /* rgb */ color: rgb(95, 23, 45); /* oklch */ color: oklch(33.2% 0.105 6.6);
Tailwind
colors: {
custom: {
50: '#915a65',
500: '#5f172d',
950: '#000000',
},
}SCSS
$custom: #5f172d; $custom-light: #915a65; $custom-dark: #000000;
JSON
{
"hex": "#5f172d",
"rgb": {
"r": 95,
"g": 23,
"b": 45
},
"hsl": {
"h": 341.667,
"s": 61.017,
"l": 23.137
},
"oklch": {
"l": 0.33216,
"c": 0.10456,
"h": 6.6
},
"luminance": 0.03235
}Semantic roles & 50–950 ramp
primary
#5F172D
secondary
#3C967A
accent
#E4B344
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0405
muted
#7E797A