#8F3159#8F3159
#8F3159 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.2% C 0.133 H 357.3°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #8F3159 |
|---|---|
| RGB | rgb(143, 49, 89) |
| HSL | hsl(334, 49%, 38%) |
| HSV | hsv(334, 66%, 56%) |
| CMYK | cmyk(0%, 65.7%, 37.8%, 43.9%) |
| CIE-LAB | lab(35.52, 43.44, -2.57) |
| CIE-LCH | lch(35.52, 43.52, 356.61°) |
| OKLab | oklab(46.15% 0.1328 -0.0062) |
| OKLCH | oklch(46.15% 0.133 357.3) |
| XYZ | xyz(14.2300, 8.7591, 10.3906) |
| Luminance | 0.0876 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 4.88
Dark Fuchsia
#9D0759
ΔE00 4.89
Reddish Purple
#910951
ΔE00 4.94
Berry
#990F4B
ΔE00 5.16
Deep Magenta
#A0025C
ΔE00 5.30
Dark Magenta
#960056
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F3159 #318F67
analogous
#8F3188 #8F3159 #8F3831
triadic
#8F3159 #598F31 #31598F
tetradic
#8F3159 #888F31 #318F67 #38318F
square
#8F3159 #888F31 #318F67 #38318F
split-complementary
#8F3159 #318F38 #31888F
monochromatic
#341220 #61213D #8F3159 #BD4175 #CD6D96
Accessibility & contrast
On white
7.63
#8F3159 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#8F3159 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F3159
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F3159 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F3159 | 1.00 | 7.63 | 2.75 | 7.63 |
| #FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#42485A
Deuteranopia (green-blind)
#5B5A57
Tritanopia (blue-blind)
#9A2941
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #8f3159; /* rgb */ color: rgb(143, 49, 89); /* oklch */ color: oklch(46.2% 0.133 357.3);
Tailwind
colors: {
custom: {
50: '#b46f87',
500: '#8f3159',
950: '#000000',
},
}SCSS
$custom: #8f3159; $custom-light: #b46f87; $custom-dark: #000000;
JSON
{
"hex": "#8f3159",
"rgb": {
"r": 143,
"g": 49,
"b": 89
},
"hsl": {
"h": 334.468,
"s": 48.958,
"l": 37.647
},
"oklch": {
"l": 0.4615,
"c": 0.13295,
"h": 357.3
},
"luminance": 0.08758
}Semantic roles & 50–950 ramp
primary
#8F3159
secondary
#67B594
accent
#D99E4F
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11080B
muted
#807B7C