#8F5162#8F5162
#8F5162 is a mid, moderate pink. Relative luminance 0.126; OKLCH L 51.2% C 0.085 H 2.9°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #8F5162 |
|---|---|
| RGB | rgb(143, 81, 98) |
| HSL | hsl(344, 28%, 44%) |
| HSV | hsv(344, 43%, 56%) |
| CMYK | cmyk(0%, 43.4%, 31.5%, 43.9%) |
| CIE-LAB | lab(42.17, 28.07, 1.51) |
| CIE-LCH | lch(42.17, 28.11, 3.07°) |
| OKLab | oklab(51.23% 0.085 0.0043) |
| OKLCH | oklch(51.23% 0.085 2.9) |
| XYZ | xyz(16.4753, 12.6076, 13.1187) |
| Luminance | 0.1261 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Mauve
#874C62
ΔE00 2.93
Light Maroon
#A24857
ΔE00 6.11
Light Burgundy
#A8415B
ΔE00 6.82
Brownish Purple
#76424E
ΔE00 6.85
Dusky Purple
#895B7B
ΔE00 7.94
Dirty Purple
#734A65
ΔE00 8.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F5162 #518F7E
analogous
#8F5181 #8F5162 #8F5F51
triadic
#8F5162 #628F51 #51628F
tetradic
#8F5162 #818F51 #518F7E #5F518F
square
#8F5162 #818F51 #518F7E #5F518F
split-complementary
#8F5162 #518F5F #51818F
monochromatic
#41252C #683B47 #8F5162 #AE6F81 #C497A3
Accessibility & contrast
On white
5.96
#8F5162 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#8F5162 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F5162
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F5162 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F5162 | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5D63
Deuteranopia (green-blind)
#6A6861
Tritanopia (blue-blind)
#994C57
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8f5162; /* rgb */ color: rgb(143, 81, 98); /* oklch */ color: oklch(51.2% 0.085 2.9);
Tailwind
colors: {
custom: {
50: '#b2838e',
500: '#8f5162',
950: '#000000',
},
}SCSS
$custom: #8f5162; $custom-light: #b2838e; $custom-dark: #000000;
JSON
{
"hex": "#8f5162",
"rgb": {
"r": 143,
"g": 81,
"b": 98
},
"hsl": {
"h": 343.548,
"s": 27.679,
"l": 43.922
},
"oklch": {
"l": 0.51234,
"c": 0.08514,
"h": 2.9
},
"luminance": 0.12606
}Semantic roles & 50–950 ramp
primary
#8F5162
secondary
#8BB1A6
accent
#C4AA64
background
#FBF8F8
surface
#F6EFF0
border
#D0CACB
text
#110B0C
muted
#807C7D