#8D2F74#8D2F74
#8D2F74 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.7% C 0.150 H 339.9°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #8D2F74 |
|---|---|
| RGB | rgb(141, 47, 116) |
| HSL | hsl(316, 50%, 37%) |
| HSV | hsv(316, 67%, 55%) |
| CMYK | cmyk(0%, 66.7%, 17.7%, 44.7%) |
| CIE-LAB | lab(35.90, 47.40, -19.15) |
| CIE-LCH | lch(35.90, 51.12, 338.00°) |
| OKLab | oklab(46.71% 0.1407 -0.0516) |
| OKLCH | oklch(46.71% 0.15 339.9) |
| XYZ | xyz(15.1537, 8.9581, 17.4506) |
| Luminance | 0.0896 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 4.80
Warm Purple
#952E8F
ΔE00 5.52
Red Violet
#9E0168
ΔE00 5.57
Light Eggplant
#894585
ΔE00 5.64
Grape
#6C3461
ΔE00 7.09
Darkish Purple
#751973
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D2F74 #2F8D48
analogous
#772F8D #8D2F74 #8D2F45
triadic
#8D2F74 #748D2F #2F748D
tetradic
#8D2F74 #8D772F #2F8D48 #2F458D
square
#8D2F74 #8D772F #2F8D48 #2F458D
split-complementary
#8D2F74 #458D2F #2F8D77
monochromatic
#311028 #5F204E #8D2F74 #BB3E9A #CD69B3
Accessibility & contrast
On white
7.52
#8D2F74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#8D2F74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D2F74
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D2F74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D2F74 | 1.00 | 7.52 | 2.79 | 7.52 |
| #FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#344B76
Deuteranopia (green-blind)
#515A72
Tritanopia (blue-blind)
#95324D
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #8d2f74; /* rgb */ color: rgb(141, 47, 116); /* oklch */ color: oklch(46.7% 0.150 339.9);
Tailwind
colors: {
custom: {
50: '#b16f9c',
500: '#8d2f74',
950: '#000000',
},
}SCSS
$custom: #8d2f74; $custom-light: #b16f9c; $custom-dark: #000000;
JSON
{
"hex": "#8d2f74",
"rgb": {
"r": 141,
"g": 47,
"b": 116
},
"hsl": {
"h": 315.957,
"s": 50,
"l": 36.863
},
"oklch": {
"l": 0.46712,
"c": 0.14987,
"h": 339.9
},
"luminance": 0.08957
}Semantic roles & 50–950 ramp
primary
#8D2F74
secondary
#64B479
accent
#DA734E
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E