#5F1331#5F1331
#5F1331 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.9% C 0.111 H 1.7°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1331 |
|---|---|
| RGB | rgb(95, 19, 49) |
| HSL | hsl(336, 67%, 22%) |
| HSV | hsv(336, 80%, 37%) |
| CMYK | cmyk(0%, 80%, 48.4%, 62.7%) |
| CIE-LAB | lab(20.52, 36.05, 1.14) |
| CIE-LCH | lch(20.52, 36.07, 1.81°) |
| OKLab | oklab(32.93% 0.1106 0.0033) |
| OKLCH | oklch(32.93% 0.111 1.7) |
| XYZ | xyz(5.5070, 3.1211, 3.2176) |
| Luminance | 0.0312 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Merlot
#730039
ΔE00 4.44
Burgundy (survey)
#610023
ΔE00 4.64
Maroon (survey)
#650021
ΔE00 6.03
Wine (survey)
#80013F
ΔE00 6.64
Plum (survey)
#580F41
ΔE00 7.31
Bordeaux
#7B002C
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1331 #135F41
analogous
#5F1357 #5F1331 #5F1B13
triadic
#5F1331 #315F13 #13315F
tetradic
#5F1331 #575F13 #135F41 #1B135F
square
#5F1331 #575F13 #135F41 #1B135F
split-complementary
#5F1331 #135F1B #13575F
monochromatic
#1A050D #2C0917 #5F1331 #921D4B #C52766
Accessibility & contrast
On white
12.93
#5F1331 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#5F1331 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1331
12.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1331 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1331 | 1.00 | 12.93 | 1.62 | 12.93 |
| #FFFFFF | 12.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#242832
Deuteranopia (green-blind)
#39372F
Tritanopia (blue-blind)
#680520
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5f1331; /* rgb */ color: rgb(95, 19, 49); /* oklch */ color: oklch(32.9% 0.111 1.7);
Tailwind
colors: {
custom: {
50: '#915968',
500: '#5f1331',
950: '#000000',
},
}SCSS
$custom: #5f1331; $custom-light: #915968; $custom-dark: #000000;
JSON
{
"hex": "#5f1331",
"rgb": {
"r": 95,
"g": 19,
"b": 49
},
"hsl": {
"h": 336.316,
"s": 66.667,
"l": 22.353
},
"oklch": {
"l": 0.3293,
"c": 0.11061,
"h": 1.7
},
"luminance": 0.0312
}Semantic roles & 50–950 ramp
primary
#5F1331
secondary
#379771
accent
#EAA63E
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0406
muted
#7E797A