#5F1440#5F1440
#5F1440 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.6% C 0.116 H 349.3°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1440 |
|---|---|
| RGB | rgb(95, 20, 64) |
| HSL | hsl(325, 65%, 23%) |
| HSV | hsv(325, 79%, 37%) |
| CMYK | cmyk(0%, 78.9%, 32.6%, 62.7%) |
| CIE-LAB | lab(21.22, 37.48, -8.28) |
| CIE-LCH | lch(21.22, 38.38, 347.55°) |
| OKLab | oklab(33.63% 0.1144 -0.0217) |
| OKLCH | oklch(33.63% 0.116 349.3) |
| XYZ | xyz(5.8952, 3.3040, 5.1768) |
| Luminance | 0.0330 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 2.49
Velvet
#750851
ΔE00 5.09
Grape Purple
#5D1451
ΔE00 5.48
Merlot
#730039
ΔE00 6.09
Rich Purple
#720058
ΔE00 6.47
Dark Plum
#3F012C
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1440 #145F33
analogous
#58145F #5F1440 #5F141B
triadic
#5F1440 #405F14 #14405F
tetradic
#5F1440 #5F5814 #145F33 #141B5F
square
#5F1440 #5F5814 #145F33 #141B5F
split-complementary
#5F1440 #1B5F14 #145F58
monochromatic
#190511 #2C091E #5F1440 #921F62 #C42984
Accessibility & contrast
On white
12.65
#5F1440 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#5F1440 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1440
12.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1440 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1440 | 1.00 | 12.65 | 1.66 | 12.65 |
| #FFFFFF | 12.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#202B41
Deuteranopia (green-blind)
#36383E
Tritanopia (blue-blind)
#661028
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #5f1440; /* rgb */ color: rgb(95, 20, 64); /* oklch */ color: oklch(33.6% 0.116 349.3);
Tailwind
colors: {
custom: {
50: '#905a74',
500: '#5f1440',
950: '#000000',
},
}SCSS
$custom: #5f1440; $custom-light: #905a74; $custom-dark: #000000;
JSON
{
"hex": "#5f1440",
"rgb": {
"r": 95,
"g": 20,
"b": 64
},
"hsl": {
"h": 324.8,
"s": 65.217,
"l": 22.549
},
"oklch": {
"l": 0.33629,
"c": 0.11643,
"h": 349.3
},
"luminance": 0.03303
}Semantic roles & 50–950 ramp
primary
#5F1440
secondary
#38975F
accent
#E88540
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B