#8F2173#8F2173
#8F2173 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.168 H 340.4°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2173 |
|---|---|
| RGB | rgb(143, 33, 115) |
| HSL | hsl(315, 63%, 35%) |
| HSV | hsv(315, 77%, 56%) |
| CMYK | cmyk(0%, 76.9%, 19.6%, 43.9%) |
| CIE-LAB | lab(34.33, 53.07, -20.93) |
| CIE-LCH | lch(34.33, 57.05, 338.48°) |
| OKLab | oklab(45.62% 0.1586 -0.0565) |
| OKLCH | oklch(45.62% 0.168 340.4) |
| XYZ | xyz(14.9665, 8.1667, 17.0044) |
| Luminance | 0.0817 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.53
Warm Purple
#952E8F
ΔE00 5.64
Darkish Purple
#751973
ΔE00 6.39
Darkmagenta
#8B008B
ΔE00 6.69
Bruise
#7E4071
ΔE00 6.71
Purple
#800080
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2173 #218F3D
analogous
#74218F #8F2173 #8F213C
triadic
#8F2173 #738F21 #21738F
tetradic
#8F2173 #8F7421 #218F3D #213C8F
square
#8F2173 #8F7421 #218F3D #213C8F
split-complementary
#8F2173 #3C8F21 #218F74
monochromatic
#2C0A23 #5D164B #8F2173 #C12C9B #D753B6
Accessibility & contrast
On white
7.98
#8F2173 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#8F2173 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2173
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2173 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2173 | 1.00 | 7.98 | 2.63 | 7.98 |
| #FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A4675
Deuteranopia (green-blind)
#4D5770
Tritanopia (blue-blind)
#982448
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8f2173; /* rgb */ color: rgb(143, 33, 115); /* oklch */ color: oklch(45.6% 0.168 340.4);
Tailwind
colors: {
custom: {
50: '#b3689b',
500: '#8f2173',
950: '#000000',
},
}SCSS
$custom: #8f2173; $custom-light: #b3689b; $custom-dark: #000000;
JSON
{
"hex": "#8f2173",
"rgb": {
"r": 143,
"g": 33,
"b": 115
},
"hsl": {
"h": 315.273,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.45619,
"c": 0.16833,
"h": 340.4
},
"luminance": 0.08165
}Semantic roles & 50–950 ramp
primary
#8F2173
secondary
#51BB6C
accent
#E66C42
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E