#8F2F71#8F2F71
#8F2F71 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 46.9% C 0.149 H 342.3°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2F71 |
|---|---|
| RGB | rgb(143, 47, 113) |
| HSL | hsl(319, 51%, 37%) |
| HSV | hsv(319, 67%, 56%) |
| CMYK | cmyk(0%, 67.1%, 21%, 43.9%) |
| CIE-LAB | lab(36.11, 47.52, -16.91) |
| CIE-LCH | lch(36.11, 50.44, 340.41°) |
| OKLab | oklab(46.89% 0.1422 -0.0453) |
| OKLCH | oklch(46.89% 0.149 342.3) |
| XYZ | xyz(15.3253, 9.0664, 16.5625) |
| Luminance | 0.0906 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.96
Bruise
#7E4071
ΔE00 4.99
Light Eggplant
#894585
ΔE00 6.20
Warm Purple
#952E8F
ΔE00 6.36
Deep Magenta
#A0025C
ΔE00 7.07
Dark Fuchsia
#9D0759
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2F71 #2F8F4D
analogous
#7D2F8F #8F2F71 #8F2F41
triadic
#8F2F71 #718F2F #2F718F
tetradic
#8F2F71 #8F7D2F #2F8F4D #2F418F
square
#8F2F71 #8F7D2F #2F8F4D #2F418F
split-complementary
#8F2F71 #418F2F #2F8F7D
monochromatic
#331128 #61204D #8F2F71 #BD3E95 #CE6AAF
Accessibility & contrast
On white
7.47
#8F2F71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#8F2F71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2F71
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2F71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2F71 | 1.00 | 7.47 | 2.81 | 7.47 |
| #FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#374B73
Deuteranopia (green-blind)
#545B6F
Tritanopia (blue-blind)
#98304B
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #8f2f71; /* rgb */ color: rgb(143, 47, 113); /* oklch */ color: oklch(46.9% 0.149 342.3);
Tailwind
colors: {
custom: {
50: '#b36f9a',
500: '#8f2f71',
950: '#000000',
},
}SCSS
$custom: #8f2f71; $custom-light: #b36f9a; $custom-dark: #000000;
JSON
{
"hex": "#8f2f71",
"rgb": {
"r": 143,
"g": 47,
"b": 113
},
"hsl": {
"h": 318.75,
"s": 50.526,
"l": 37.255
},
"oklch": {
"l": 0.46888,
"c": 0.14926,
"h": 342.3
},
"luminance": 0.09065
}Semantic roles & 50–950 ramp
primary
#8F2F71
secondary
#65B57E
accent
#DA7A4E
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E