#8F2174#8F2174
#8F2174 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.7% C 0.169 H 339.9°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2174 |
|---|---|
| RGB | rgb(143, 33, 116) |
| HSL | hsl(315, 63%, 35%) |
| HSV | hsv(315, 77%, 56%) |
| CMYK | cmyk(0%, 76.9%, 18.9%, 43.9%) |
| CIE-LAB | lab(34.38, 53.21, -21.49) |
| CIE-LCH | lch(34.38, 57.39, 338.01°) |
| OKLab | oklab(45.67% 0.1587 -0.0581) |
| OKLCH | oklch(45.67% 0.169 339.9) |
| XYZ | xyz(15.0244, 8.1898, 17.3091) |
| Luminance | 0.0819 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.71
Warm Purple
#952E8F
ΔE00 5.44
Darkish Purple
#751973
ΔE00 6.27
Darkmagenta
#8B008B
ΔE00 6.49
Bruise
#7E4071
ΔE00 6.74
Purple
#800080
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2174 #218F3C
analogous
#73218F #8F2174 #8F213D
triadic
#8F2174 #748F21 #21748F
tetradic
#8F2174 #8F7321 #218F3C #213D8F
square
#8F2174 #8F7321 #218F3C #213D8F
split-complementary
#8F2174 #3D8F21 #218F73
monochromatic
#2C0A23 #5D164C #8F2174 #C12C9C #D753B7
Accessibility & contrast
On white
7.96
#8F2174 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#8F2174 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2174
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2174 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2174 | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#294676
Deuteranopia (green-blind)
#4D5771
Tritanopia (blue-blind)
#982548
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8f2174; /* rgb */ color: rgb(143, 33, 116); /* oklch */ color: oklch(45.7% 0.169 339.9);
Tailwind
colors: {
custom: {
50: '#b3689c',
500: '#8f2174',
950: '#000000',
},
}SCSS
$custom: #8f2174; $custom-light: #b3689c; $custom-dark: #000000;
JSON
{
"hex": "#8f2174",
"rgb": {
"r": 143,
"g": 33,
"b": 116
},
"hsl": {
"h": 314.727,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.45668,
"c": 0.16901,
"h": 339.9
},
"luminance": 0.08188
}Semantic roles & 50–950 ramp
primary
#8F2174
secondary
#51BB6B
accent
#E66A42
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E