#5F1142#5F1142
#5F1142 is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.4% C 0.121 H 347.3°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1142 |
|---|---|
| RGB | rgb(95, 17, 66) |
| HSL | hsl(322, 70%, 22%) |
| HSV | hsv(322, 82%, 37%) |
| CMYK | cmyk(0%, 82.1%, 30.5%, 62.7%) |
| CIE-LAB | lab(20.93, 38.81, -10.10) |
| CIE-LCH | lch(20.93, 40.11, 345.42°) |
| OKLab | oklab(33.45% 0.1182 -0.0267) |
| OKLCH | oklch(33.45% 0.121 347.3) |
| XYZ | xyz(5.9034, 3.2278, 5.4653) |
| Luminance | 0.0323 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 1.77
Grape Purple
#5D1451
ΔE00 4.61
Velvet
#750851
ΔE00 4.66
Rich Purple
#720058
ΔE00 5.69
Merlot
#730039
ΔE00 6.63
Dark Plum
#3F012C
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1142 #115F2E
analogous
#55115F #5F1142 #5F111B
triadic
#5F1142 #425F11 #11425F
tetradic
#5F1142 #5F5511 #115F2E #111B5F
square
#5F1142 #5F5511 #115F2E #111B5F
split-complementary
#5F1142 #1B5F11 #115F55
monochromatic
#1A0512 #2B081E #5F1142 #931A66 #C7248A
Accessibility & contrast
On white
12.76
#5F1142 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#5F1142 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1142
12.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1142 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1142 | 1.00 | 12.76 | 1.65 | 12.76 |
| #FFFFFF | 12.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D2A43
Deuteranopia (green-blind)
#343740
Tritanopia (blue-blind)
#660E28
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #5f1142; /* rgb */ color: rgb(95, 17, 66); /* oklch */ color: oklch(33.4% 0.121 347.3);
Tailwind
colors: {
custom: {
50: '#905976',
500: '#5f1142',
950: '#000000',
},
}SCSS
$custom: #5f1142; $custom-light: #905976; $custom-dark: #000000;
JSON
{
"hex": "#5f1142",
"rgb": {
"r": 95,
"g": 17,
"b": 66
},
"hsl": {
"h": 322.308,
"s": 69.643,
"l": 21.961
},
"oklch": {
"l": 0.33447,
"c": 0.12121,
"h": 347.3
},
"luminance": 0.03227
}Semantic roles & 50–950 ramp
primary
#5F1142
secondary
#349859
accent
#EC7D3B
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B