#5F1231#5F1231
#5F1231 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.8% C 0.112 H 1.5°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1231 |
|---|---|
| RGB | rgb(95, 18, 49) |
| HSL | hsl(336, 68%, 22%) |
| HSV | hsv(336, 81%, 37%) |
| CMYK | cmyk(0%, 81.1%, 48.4%, 62.7%) |
| CIE-LAB | lab(20.39, 36.42, 0.95) |
| CIE-LCH | lch(20.39, 36.43, 1.49°) |
| OKLab | oklab(32.84% 0.1117 0.0029) |
| OKLCH | oklch(32.84% 0.112 1.5) |
| XYZ | xyz(5.4904, 3.0880, 3.2121) |
| Luminance | 0.0309 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Merlot
#730039
ΔE00 4.36
Burgundy (survey)
#610023
ΔE00 4.67
Maroon (survey)
#650021
ΔE00 6.09
Wine (survey)
#80013F
ΔE00 6.60
Plum (survey)
#580F41
ΔE00 7.18
Red Purple
#820747
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1231 #125F40
analogous
#5F1258 #5F1231 #5F1912
triadic
#5F1231 #315F12 #12315F
tetradic
#5F1231 #585F12 #125F40 #19125F
square
#5F1231 #585F12 #125F40 #19125F
split-complementary
#5F1231 #125F19 #12585F
monochromatic
#1A050D #2C0816 #5F1231 #921C4C #C62566
Accessibility & contrast
On white
12.98
#5F1231 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#5F1231 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1231
12.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1231 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1231 | 1.00 | 12.98 | 1.62 | 12.98 |
| #FFFFFF | 12.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#242832
Deuteranopia (green-blind)
#39372F
Tritanopia (blue-blind)
#68041F
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5f1231; /* rgb */ color: rgb(95, 18, 49); /* oklch */ color: oklch(32.8% 0.112 1.5);
Tailwind
colors: {
custom: {
50: '#915868',
500: '#5f1231',
950: '#000000',
},
}SCSS
$custom: #5f1231; $custom-light: #915868; $custom-dark: #000000;
JSON
{
"hex": "#5f1231",
"rgb": {
"r": 95,
"g": 18,
"b": 49
},
"hsl": {
"h": 335.844,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.32835,
"c": 0.11177,
"h": 1.5
},
"luminance": 0.03087
}Semantic roles & 50–950 ramp
primary
#5F1231
secondary
#369770
accent
#EBA53D
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0406
muted
#7E797A