#5F1131#5F1131
#5F1131 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.7% C 0.113 H 1.2°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1131 |
|---|---|
| RGB | rgb(95, 17, 49) |
| HSL | hsl(335, 70%, 22%) |
| HSV | hsv(335, 82%, 37%) |
| CMYK | cmyk(0%, 82.1%, 48.4%, 62.7%) |
| CIE-LAB | lab(20.27, 36.77, 0.77) |
| CIE-LCH | lch(20.27, 36.78, 1.20°) |
| OKLab | oklab(32.74% 0.1129 0.0024) |
| OKLCH | oklch(32.74% 0.113 1.2) |
| XYZ | xyz(5.4746, 3.0563, 3.2068) |
| Luminance | 0.0306 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Merlot
#730039
ΔE00 4.28
Burgundy (survey)
#610023
ΔE00 4.71
Maroon (survey)
#650021
ΔE00 6.15
Wine (survey)
#80013F
ΔE00 6.57
Plum (survey)
#580F41
ΔE00 7.07
Red Purple
#820747
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1131 #115F3F
analogous
#5F1158 #5F1131 #5F1811
triadic
#5F1131 #315F11 #11315F
tetradic
#5F1131 #585F11 #115F3F #18115F
square
#5F1131 #585F11 #115F3F #18115F
split-complementary
#5F1131 #115F18 #11585F
monochromatic
#1A050D #2B0816 #5F1131 #931A4C #C72467
Accessibility & contrast
On white
13.03
#5F1131 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#5F1131 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1131
13.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1131 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1131 | 1.00 | 13.03 | 1.61 | 13.03 |
| #FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#232732
Deuteranopia (green-blind)
#38362F
Tritanopia (blue-blind)
#68031F
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5f1131; /* rgb */ color: rgb(95, 17, 49); /* oklch */ color: oklch(32.7% 0.113 1.2);
Tailwind
colors: {
custom: {
50: '#915868',
500: '#5f1131',
950: '#000000',
},
}SCSS
$custom: #5f1131; $custom-light: #915868; $custom-dark: #000000;
JSON
{
"hex": "#5f1131",
"rgb": {
"r": 95,
"g": 17,
"b": 49
},
"hsl": {
"h": 335.385,
"s": 69.643,
"l": 21.961
},
"oklch": {
"l": 0.32743,
"c": 0.11289,
"h": 1.2
},
"luminance": 0.03056
}Semantic roles & 50–950 ramp
primary
#5F1131
secondary
#34986F
accent
#ECA43B
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0406
muted
#7E797A