#5F1239#5F1239
#5F1239 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.1% C 0.115 H 354.7°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1239 |
|---|---|
| RGB | rgb(95, 18, 57) |
| HSL | hsl(330, 68%, 22%) |
| HSV | hsv(330, 81%, 37%) |
| CMYK | cmyk(0%, 81.1%, 40%, 62.7%) |
| CIE-LAB | lab(20.68, 37.32, -4.24) |
| CIE-LCH | lch(20.68, 37.56, 353.52°) |
| OKLab | oklab(33.14% 0.1146 -0.0107) |
| OKLCH | oklch(33.14% 0.115 354.7) |
| XYZ | xyz(5.6745, 3.1616, 4.1815) |
| Luminance | 0.0316 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 4.37
Merlot
#730039
ΔE00 4.73
Velvet
#750851
ΔE00 6.39
Wine (survey)
#80013F
ΔE00 6.92
Red Purple
#820747
ΔE00 6.93
Burgundy (survey)
#610023
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1239 #125F38
analogous
#5F125F #5F1239 #5F1213
triadic
#5F1239 #395F12 #12395F
tetradic
#5F1239 #5F5F12 #125F38 #12135F
square
#5F1239 #5F5F12 #125F38 #12135F
split-complementary
#5F1239 #135F12 #125F5F
monochromatic
#1A050F #2C081A #5F1239 #921C58 #C62577
Accessibility & contrast
On white
12.87
#5F1239 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#5F1239 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1239
12.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1239 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1239 | 1.00 | 12.87 | 1.63 | 12.87 |
| #FFFFFF | 12.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#21293A
Deuteranopia (green-blind)
#373737
Tritanopia (blue-blind)
#670923
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #5f1239; /* rgb */ color: rgb(95, 18, 57); /* oklch */ color: oklch(33.1% 0.115 354.7);
Tailwind
colors: {
custom: {
50: '#90596f',
500: '#5f1239',
950: '#000000',
},
}SCSS
$custom: #5f1239; $custom-light: #90596f; $custom-dark: #000000;
JSON
{
"hex": "#5f1239",
"rgb": {
"r": 95,
"g": 18,
"b": 57
},
"hsl": {
"h": 329.61,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.33139,
"c": 0.11509,
"h": 354.7
},
"luminance": 0.03161
}Semantic roles & 50–950 ramp
primary
#5F1239
secondary
#369766
accent
#EB933D
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A