#8A2D71#8A2D71
#8A2D71 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 45.9% C 0.148 H 340.1°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2D71 |
|---|---|
| RGB | rgb(138, 45, 113) |
| HSL | hsl(316, 51%, 36%) |
| HSV | hsv(316, 67%, 54%) |
| CMYK | cmyk(0%, 67.4%, 18.1%, 45.9%) |
| CIE-LAB | lab(34.95, 46.94, -18.78) |
| CIE-LCH | lch(34.95, 50.56, 338.20°) |
| OKLab | oklab(45.87% 0.1395 -0.0506) |
| OKLCH | oklch(45.87% 0.148 340.1) |
| XYZ | xyz(14.4006, 8.4736, 16.4967) |
| Luminance | 0.0847 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 4.82
Red Violet
#9E0168
ΔE00 5.50
Warm Purple
#952E8F
ΔE00 6.02
Light Eggplant
#894585
ΔE00 6.16
Grape
#6C3461
ΔE00 6.54
Darkish Purple
#751973
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2D71 #2D8A46
analogous
#742D8A #8A2D71 #8A2D42
triadic
#8A2D71 #718A2D #2D718A
tetradic
#8A2D71 #8A742D #2D8A46 #2D428A
square
#8A2D71 #8A742D #2D8A46 #2D428A
split-complementary
#8A2D71 #428A2D #2D8A74
monochromatic
#2E0F25 #5C1E4B #8A2D71 #B83C97 #CD65B1
Accessibility & contrast
On white
7.79
#8A2D71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#8A2D71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2D71
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2D71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2D71 | 1.00 | 7.79 | 2.69 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#324973
Deuteranopia (green-blind)
#4F586F
Tritanopia (blue-blind)
#922F4B
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #8a2d71; /* rgb */ color: rgb(138, 45, 113); /* oklch */ color: oklch(45.9% 0.148 340.1);
Tailwind
colors: {
custom: {
50: '#af6d9a',
500: '#8a2d71',
950: '#000000',
},
}SCSS
$custom: #8a2d71; $custom-light: #af6d9a; $custom-dark: #000000;
JSON
{
"hex": "#8a2d71",
"rgb": {
"r": 138,
"g": 45,
"b": 113
},
"hsl": {
"h": 316.129,
"s": 50.82,
"l": 35.882
},
"oklch": {
"l": 0.45873,
"c": 0.14836,
"h": 340.1
},
"luminance": 0.08472
}Semantic roles & 50–950 ramp
primary
#8A2D71
secondary
#60B376
accent
#DA734D
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E