#5F1031#5F1031
#5F1031 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.7% C 0.114 H 1.0°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1031 |
|---|---|
| RGB | rgb(95, 16, 49) |
| HSL | hsl(335, 71%, 22%) |
| HSV | hsv(335, 83%, 37%) |
| CMYK | cmyk(0%, 83.2%, 48.4%, 62.7%) |
| CIE-LAB | lab(20.15, 37.11, 0.59) |
| CIE-LCH | lch(20.15, 37.11, 0.91°) |
| OKLab | oklab(32.65% 0.114 0.0019) |
| OKLCH | oklch(32.65% 0.114 1) |
| XYZ | xyz(5.4594, 3.0260, 3.2017) |
| Luminance | 0.0302 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Merlot
#730039
ΔE00 4.21
Burgundy (survey)
#610023
ΔE00 4.75
Maroon (survey)
#650021
ΔE00 6.21
Wine (survey)
#80013F
ΔE00 6.54
Plum (survey)
#580F41
ΔE00 6.96
Red Purple
#820747
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1031 #105F3E
analogous
#5F1059 #5F1031 #5F1710
triadic
#5F1031 #315F10 #10315F
tetradic
#5F1031 #595F10 #105F3E #17105F
square
#5F1031 #595F10 #105F3E #17105F
split-complementary
#5F1031 #105F17 #10595F
monochromatic
#1A040E #2B0716 #5F1031 #93194C #C82267
Accessibility & contrast
On white
13.08
#5F1031 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#5F1031 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1031
13.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1031 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1031 | 1.00 | 13.08 | 1.61 | 13.08 |
| #FFFFFF | 13.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#232732
Deuteranopia (green-blind)
#38362F
Tritanopia (blue-blind)
#68011F
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5f1031; /* rgb */ color: rgb(95, 16, 49); /* oklch */ color: oklch(32.7% 0.114 1.0);
Tailwind
colors: {
custom: {
50: '#915868',
500: '#5f1031',
950: '#000000',
},
}SCSS
$custom: #5f1031; $custom-light: #915868; $custom-dark: #000000;
JSON
{
"hex": "#5f1031",
"rgb": {
"r": 95,
"g": 16,
"b": 49
},
"hsl": {
"h": 334.937,
"s": 71.171,
"l": 21.765
},
"oklch": {
"l": 0.32654,
"c": 0.11398,
"h": 1
},
"luminance": 0.03025
}Semantic roles & 50–950 ramp
primary
#5F1031
secondary
#33986E
accent
#EEA33A
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0406
muted
#7E797A