#5F1946#5F1946
#5F1946 is a dark, moderate pink. Relative luminance 0.036; OKLCH L 34.4% C 0.114 H 345.2°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1946 |
|---|---|
| RGB | rgb(95, 25, 70) |
| HSL | hsl(321, 58%, 24%) |
| HSV | hsv(321, 74%, 37%) |
| CMYK | cmyk(0%, 73.7%, 26.3%, 62.7%) |
| CIE-LAB | lab(22.20, 36.33, -10.91) |
| CIE-LCH | lch(22.20, 37.93, 343.29°) |
| OKLab | oklab(34.43% 0.1097 -0.029) |
| OKLCH | oklch(34.43% 0.114 345.2) |
| XYZ | xyz(6.1727, 3.5710, 6.1574) |
| Luminance | 0.0357 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 2.19
Grape Purple
#5D1451
ΔE00 4.12
Velvet
#750851
ΔE00 4.81
Rich Purple
#720058
ΔE00 5.71
Grape
#6C3461
ΔE00 7.24
Merlot
#730039
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1946 #195F32
analogous
#55195F #5F1946 #5F1923
triadic
#5F1946 #465F19 #19465F
tetradic
#5F1946 #5F5519 #195F32 #19235F
square
#5F1946 #5F5519 #195F32 #19235F
split-complementary
#5F1946 #235F19 #195F55
monochromatic
#180612 #2F0C22 #5F1946 #8F266A #C0328D
Accessibility & contrast
On white
12.25
#5F1946 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#5F1946 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1946
12.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1946 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1946 | 1.00 | 12.25 | 1.71 | 12.25 |
| #FFFFFF | 12.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#212E47
Deuteranopia (green-blind)
#363944
Tritanopia (blue-blind)
#66182D
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #5f1946; /* rgb */ color: rgb(95, 25, 70); /* oklch */ color: oklch(34.4% 0.114 345.2);
Tailwind
colors: {
custom: {
50: '#8f5c79',
500: '#5f1946',
950: '#000000',
},
}SCSS
$custom: #5f1946; $custom-light: #8f5c79; $custom-dark: #000000;
JSON
{
"hex": "#5f1946",
"rgb": {
"r": 95,
"g": 25,
"b": 70
},
"hsl": {
"h": 321.429,
"s": 58.333,
"l": 23.529
},
"oklch": {
"l": 0.34429,
"c": 0.1135,
"h": 345.2
},
"luminance": 0.0357
}Semantic roles & 50–950 ramp
primary
#5F1946
secondary
#3F955E
accent
#E27E46
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B