#5F172F#5F172F
#5F172F is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.3% C 0.105 H 4.8°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).
Color values
| HEX | #5F172F |
|---|---|
| RGB | rgb(95, 23, 47) |
| HSL | hsl(340, 61%, 23%) |
| HSV | hsv(340, 76%, 37%) |
| CMYK | cmyk(0%, 75.8%, 50.5%, 62.7%) |
| CIE-LAB | lab(21.02, 34.26, 3.26) |
| CIE-LCH | lch(21.02, 34.42, 5.44°) |
| OKLab | oklab(33.28% 0.1047 0.0087) |
| OKLCH | oklch(33.28% 0.105 4.8) |
| XYZ | xyz(5.5392, 3.2516, 3.0247) |
| Luminance | 0.0325 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.04
Maroon (survey)
#650021
ΔE00 5.19
Merlot
#730039
ΔE00 5.23
Bordeaux
#7B002C
ΔE00 6.88
Wine (survey)
#80013F
ΔE00 7.11
Wine
#722F37
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F172F #175F47
analogous
#5F1753 #5F172F #5F2317
triadic
#5F172F #2F5F17 #172F5F
tetradic
#5F172F #535F17 #175F47 #23175F
square
#5F172F #535F17 #175F47 #23175F
split-complementary
#5F172F #175F23 #17535F
monochromatic
#19060C #2E0B17 #5F172F #902347 #C22F60
Accessibility & contrast
On white
12.73
#5F172F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#5F172F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F172F
12.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F172F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F172F | 1.00 | 12.73 | 1.65 | 12.73 |
| #FFFFFF | 12.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#272930
Deuteranopia (green-blind)
#3A382D
Tritanopia (blue-blind)
#680B21
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #5f172f; /* rgb */ color: rgb(95, 23, 47); /* oklch */ color: oklch(33.3% 0.105 4.8);
Tailwind
colors: {
custom: {
50: '#915a67',
500: '#5f172f',
950: '#000000',
},
}SCSS
$custom: #5f172f; $custom-light: #915a67; $custom-dark: #000000;
JSON
{
"hex": "#5f172f",
"rgb": {
"r": 95,
"g": 23,
"b": 47
},
"hsl": {
"h": 340,
"s": 61.017,
"l": 23.137
},
"oklch": {
"l": 0.3328,
"c": 0.10506,
"h": 4.8
},
"luminance": 0.03251
}Semantic roles & 50–950 ramp
primary
#5F172F
secondary
#3C9678
accent
#E4AF44
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0406
muted
#7E797A