#5F2147#5F2147
#5F2147 is a dark, moderate pink. Relative luminance 0.040; OKLCH L 35.5% C 0.102 H 345.8°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).
Color values
| HEX | #5F2147 |
|---|---|
| RGB | rgb(95, 33, 71) |
| HSL | hsl(323, 48%, 25%) |
| HSV | hsv(323, 65%, 37%) |
| CMYK | cmyk(0%, 65.3%, 25.3%, 62.7%) |
| CIE-LAB | lab(23.59, 32.77, -9.46) |
| CIE-LCH | lch(23.59, 34.10, 343.89°) |
| OKLab | oklab(35.47% 0.0986 -0.025) |
| OKLCH | oklch(35.47% 0.102 345.8) |
| XYZ | xyz(6.4007, 3.9761, 6.3904) |
| Luminance | 0.0398 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 3.71
Grape Purple
#5D1451
ΔE00 5.27
Velvet
#750851
ΔE00 5.78
Grape
#6C3461
ΔE00 6.38
Rich Purple
#720058
ΔE00 6.91
Merlot
#730039
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F2147 #215F39
analogous
#58215F #5F2147 #5F2128
triadic
#5F2147 #475F21 #21475F
tetradic
#5F2147 #5F5821 #215F39 #21285F
square
#5F2147 #5F5821 #215F39 #21285F
split-complementary
#5F2147 #285F21 #215F58
monochromatic
#170811 #321125 #5F2147 #8C3169 #BA418B
Accessibility & contrast
On white
11.70
#5F2147 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#5F2147 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F2147
11.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F2147 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F2147 | 1.00 | 11.70 | 1.80 | 11.70 |
| #FFFFFF | 11.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#273248
Deuteranopia (green-blind)
#393C45
Tritanopia (blue-blind)
#652031
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #5f2147; /* rgb */ color: rgb(95, 33, 71); /* oklch */ color: oklch(35.5% 0.102 345.8);
Tailwind
colors: {
custom: {
50: '#8f607a',
500: '#5f2147',
950: '#000000',
},
}SCSS
$custom: #5f2147; $custom-light: #8f607a; $custom-dark: #000000;
JSON
{
"hex": "#5f2147",
"rgb": {
"r": 95,
"g": 33,
"b": 71
},
"hsl": {
"h": 323.226,
"s": 48.438,
"l": 25.098
},
"oklch": {
"l": 0.35467,
"c": 0.10176,
"h": 345.8
},
"luminance": 0.03976
}Semantic roles & 50–950 ramp
primary
#5F2147
secondary
#499365
accent
#D88550
background
#F9F5F7
surface
#F1EAED
border
#CBC6C8
text
#0D0509
muted
#7E797B