#5F1839#5F1839
#5F1839 is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.8% C 0.107 H 356.0°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1839 |
|---|---|
| RGB | rgb(95, 24, 57) |
| HSL | hsl(332, 60%, 23%) |
| HSV | hsv(332, 75%, 37%) |
| CMYK | cmyk(0%, 74.7%, 40%, 62.7%) |
| CIE-LAB | lab(21.51, 34.98, -2.99) |
| CIE-LCH | lch(21.51, 35.11, 355.11°) |
| OKLab | oklab(33.75% 0.1072 -0.0074) |
| OKLCH | oklch(33.75% 0.107 356) |
| XYZ | xyz(5.7848, 3.3823, 4.2183) |
| Luminance | 0.0338 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Merlot
#730039
ΔE00 4.93
Plum (survey)
#580F41
ΔE00 5.19
Wine (survey)
#80013F
ΔE00 6.96
Velvet
#750851
ΔE00 7.06
Red Purple
#820747
ΔE00 7.08
Burgundy (survey)
#610023
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1839 #185F3E
analogous
#5F185C #5F1839 #5F1A18
triadic
#5F1839 #395F18 #18395F
tetradic
#5F1839 #5C5F18 #185F3E #1A185F
square
#5F1839 #5C5F18 #185F3E #1A185F
split-complementary
#5F1839 #185F1A #185C5F
monochromatic
#18060F #2E0C1C #5F1839 #902456 #C13174
Accessibility & contrast
On white
12.53
#5F1839 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#5F1839 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1839
12.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1839 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1839 | 1.00 | 12.53 | 1.68 | 12.53 |
| #FFFFFF | 12.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#252B3A
Deuteranopia (green-blind)
#393837
Tritanopia (blue-blind)
#671126
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #5f1839; /* rgb */ color: rgb(95, 24, 57); /* oklch */ color: oklch(33.8% 0.107 356.0);
Tailwind
colors: {
custom: {
50: '#905b6f',
500: '#5f1839',
950: '#000000',
},
}SCSS
$custom: #5f1839; $custom-light: #905b6f; $custom-dark: #000000;
JSON
{
"hex": "#5f1839",
"rgb": {
"r": 95,
"g": 24,
"b": 57
},
"hsl": {
"h": 332.113,
"s": 59.664,
"l": 23.333
},
"oklch": {
"l": 0.33751,
"c": 0.10744,
"h": 356
},
"luminance": 0.03382
}Semantic roles & 50–950 ramp
primary
#5F1839
secondary
#3D956C
accent
#E39945
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A