#8F3271#8F3271
#8F3271 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.2% C 0.145 H 342.6°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #8F3271 |
|---|---|
| RGB | rgb(143, 50, 113) |
| HSL | hsl(319, 48%, 38%) |
| HSV | hsv(319, 65%, 56%) |
| CMYK | cmyk(0%, 65%, 21%, 43.9%) |
| CIE-LAB | lab(36.58, 46.22, -16.19) |
| CIE-LCH | lch(36.58, 48.98, 340.70°) |
| OKLab | oklab(47.23% 0.1383 -0.0433) |
| OKLCH | oklch(47.23% 0.145 342.6) |
| XYZ | xyz(15.4494, 9.3145, 16.6038) |
| Luminance | 0.0931 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 4.65
Red Violet
#9E0168
ΔE00 5.31
Light Eggplant
#894585
ΔE00 5.95
Warm Purple
#952E8F
ΔE00 6.58
Deep Magenta
#A0025C
ΔE00 7.21
Grape
#6C3461
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F3271 #328F50
analogous
#7F328F #8F3271 #8F3242
triadic
#8F3271 #718F32 #32718F
tetradic
#8F3271 #8F7F32 #328F50 #32428F
square
#8F3271 #8F7F32 #328F50 #32428F
split-complementary
#8F3271 #428F32 #328F7F
monochromatic
#341229 #62224D #8F3271 #BC4295 #CD6FAE
Accessibility & contrast
On white
7.34
#8F3271 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#8F3271 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F3271
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F3271 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F3271 | 1.00 | 7.34 | 2.86 | 7.34 |
| #FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#394C73
Deuteranopia (green-blind)
#555C6F
Tritanopia (blue-blind)
#98334D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #8f3271; /* rgb */ color: rgb(143, 50, 113); /* oklch */ color: oklch(47.2% 0.145 342.6);
Tailwind
colors: {
custom: {
50: '#b3709a',
500: '#8f3271',
950: '#000000',
},
}SCSS
$custom: #8f3271; $custom-light: #b3709a; $custom-dark: #000000;
JSON
{
"hex": "#8f3271",
"rgb": {
"r": 143,
"g": 50,
"b": 113
},
"hsl": {
"h": 319.355,
"s": 48.187,
"l": 37.843
},
"oklch": {
"l": 0.47233,
"c": 0.1449,
"h": 342.6
},
"luminance": 0.09313
}Semantic roles & 50–950 ramp
primary
#8F3271
secondary
#68B481
accent
#D87C50
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E