#5F1738#5F1738
#5F1738 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.6% C 0.108 H 356.7°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1738 |
|---|---|
| RGB | rgb(95, 23, 56) |
| HSL | hsl(333, 61%, 23%) |
| HSV | hsv(333, 76%, 37%) |
| CMYK | cmyk(0%, 75.8%, 41.1%, 62.7%) |
| CIE-LAB | lab(21.33, 35.27, -2.58) |
| CIE-LCH | lch(21.33, 35.37, 355.82°) |
| OKLab | oklab(33.6% 0.1082 -0.0063) |
| OKLCH | oklch(33.6% 0.108 356.7) |
| XYZ | xyz(5.7399, 3.3319, 4.0815) |
| Luminance | 0.0333 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Merlot
#730039
ΔE00 4.78
Plum (survey)
#580F41
ΔE00 5.36
Burgundy (survey)
#610023
ΔE00 6.83
Wine (survey)
#80013F
ΔE00 6.86
Red Purple
#820747
ΔE00 7.06
Velvet
#750851
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1738 #175F3E
analogous
#5F175C #5F1738 #5F1A17
triadic
#5F1738 #385F17 #17385F
tetradic
#5F1738 #5C5F17 #175F3E #1A175F
square
#5F1738 #5C5F17 #175F3E #1A175F
split-complementary
#5F1738 #175F1A #175C5F
monochromatic
#19060F #2E0B1B #5F1738 #902355 #C22F72
Accessibility & contrast
On white
12.60
#5F1738 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#5F1738 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1738
12.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1738 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1738 | 1.00 | 12.60 | 1.67 | 12.60 |
| #FFFFFF | 12.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#252B39
Deuteranopia (green-blind)
#393836
Tritanopia (blue-blind)
#670F25
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #5f1738; /* rgb */ color: rgb(95, 23, 56); /* oklch */ color: oklch(33.6% 0.108 356.7);
Tailwind
colors: {
custom: {
50: '#905b6e',
500: '#5f1738',
950: '#000000',
},
}SCSS
$custom: #5f1738; $custom-light: #905b6e; $custom-dark: #000000;
JSON
{
"hex": "#5f1738",
"rgb": {
"r": 95,
"g": 23,
"b": 56
},
"hsl": {
"h": 332.5,
"s": 61.017,
"l": 23.137
},
"oklch": {
"l": 0.33601,
"c": 0.10835,
"h": 356.7
},
"luminance": 0.03331
}Semantic roles & 50–950 ramp
primary
#5F1738
secondary
#3C966D
accent
#E49B44
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0407
muted
#7E797A