#8F2D74#8F2D74
#8F2D74 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.8% C 0.154 H 340.6°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2D74 |
|---|---|
| RGB | rgb(143, 45, 116) |
| HSL | hsl(317, 52%, 37%) |
| HSV | hsv(317, 69%, 56%) |
| CMYK | cmyk(0%, 68.5%, 18.9%, 43.9%) |
| CIE-LAB | lab(35.94, 48.80, -19.06) |
| CIE-LCH | lch(35.94, 52.39, 338.67°) |
| OKLab | oklab(46.81% 0.1454 -0.0513) |
| OKLCH | oklch(46.81% 0.154 340.6) |
| XYZ | xyz(15.4189, 8.9788, 17.4406) |
| Luminance | 0.0898 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.14
Bruise
#7E4071
ΔE00 5.24
Warm Purple
#952E8F
ΔE00 5.53
Light Eggplant
#894585
ΔE00 5.97
Grape
#6C3461
ΔE00 7.47
Darkish Purple
#751973
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2D74 #2D8F48
analogous
#792D8F #8F2D74 #8F2D43
triadic
#8F2D74 #748F2D #2D748F
tetradic
#8F2D74 #8F792D #2D8F48 #2D438F
square
#8F2D74 #8F792D #2D8F48 #2D438F
split-complementary
#8F2D74 #438F2D #2D8F79
monochromatic
#321028 #601E4E #8F2D74 #BE3C9A #CF67B3
Accessibility & contrast
On white
7.51
#8F2D74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#8F2D74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2D74
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2D74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2D74 | 1.00 | 7.51 | 2.80 | 7.51 |
| #FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#334A76
Deuteranopia (green-blind)
#525A72
Tritanopia (blue-blind)
#972F4C
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #8f2d74; /* rgb */ color: rgb(143, 45, 116); /* oklch */ color: oklch(46.8% 0.154 340.6);
Tailwind
colors: {
custom: {
50: '#b36e9c',
500: '#8f2d74',
950: '#000000',
},
}SCSS
$custom: #8f2d74; $custom-light: #b36e9c; $custom-dark: #000000;
JSON
{
"hex": "#8f2d74",
"rgb": {
"r": 143,
"g": 45,
"b": 116
},
"hsl": {
"h": 316.531,
"s": 52.128,
"l": 36.863
},
"oklch": {
"l": 0.46808,
"c": 0.15413,
"h": 340.6
},
"luminance": 0.08977
}Semantic roles & 50–950 ramp
primary
#8F2D74
secondary
#62B679
accent
#DC744C
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E