#8F2671#8F2671
#8F2671 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.0% C 0.161 H 341.7°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2671 |
|---|---|
| RGB | rgb(143, 38, 113) |
| HSL | hsl(317, 58%, 35%) |
| HSV | hsv(317, 73%, 56%) |
| CMYK | cmyk(0%, 73.4%, 21%, 43.9%) |
| CIE-LAB | lab(34.84, 51.07, -18.87) |
| CIE-LCH | lch(34.84, 54.44, 339.72°) |
| OKLab | oklab(45.96% 0.153 -0.0507) |
| OKLCH | oklch(45.96% 0.161 341.7) |
| XYZ | xyz(15.0019, 8.4196, 16.4547) |
| Luminance | 0.0842 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.32
Warm Purple
#952E8F
ΔE00 6.05
Bruise
#7E4071
ΔE00 6.09
Deep Magenta
#A0025C
ΔE00 6.95
Dark Magenta
#960056
ΔE00 7.02
Light Eggplant
#894585
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2671 #268F44
analogous
#78268F #8F2671 #8F263C
triadic
#8F2671 #718F26 #26718F
tetradic
#8F2671 #8F7826 #268F44 #263C8F
square
#8F2671 #8F7826 #268F44 #263C8F
split-complementary
#8F2671 #3C8F26 #268F78
monochromatic
#2E0C25 #5F194B #8F2671 #BF3397 #D45CB1
Accessibility & contrast
On white
7.83
#8F2671 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#8F2671 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2671
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2671 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2671 | 1.00 | 7.83 | 2.68 | 7.83 |
| #FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4773
Deuteranopia (green-blind)
#50586F
Tritanopia (blue-blind)
#982848
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #8f2671; /* rgb */ color: rgb(143, 38, 113); /* oklch */ color: oklch(46.0% 0.161 341.7);
Tailwind
colors: {
custom: {
50: '#b36a9a',
500: '#8f2671',
950: '#000000',
},
}SCSS
$custom: #8f2671; $custom-light: #b36a9a; $custom-dark: #000000;
JSON
{
"hex": "#8f2671",
"rgb": {
"r": 143,
"g": 38,
"b": 113
},
"hsl": {
"h": 317.143,
"s": 58.011,
"l": 35.49
},
"oklch": {
"l": 0.45961,
"c": 0.16119,
"h": 341.7
},
"luminance": 0.08418
}Semantic roles & 50–950 ramp
primary
#8F2671
secondary
#58B974
accent
#E17347
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E