#8A2A73#8A2A73
#8A2A73 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.6% C 0.154 H 338.8°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2A73 |
|---|---|
| RGB | rgb(138, 42, 115) |
| HSL | hsl(314, 53%, 35%) |
| HSV | hsv(314, 70%, 54%) |
| CMYK | cmyk(0%, 69.6%, 16.7%, 45.9%) |
| CIE-LAB | lab(34.60, 48.49, -20.58) |
| CIE-LCH | lch(34.60, 52.67, 337.00°) |
| OKLab | oklab(45.65% 0.1436 -0.0556) |
| OKLCH | oklch(45.65% 0.154 338.8) |
| XYZ | xyz(14.4040, 8.2983, 17.0595) |
| Luminance | 0.0830 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 5.35
Warm Purple
#952E8F
ΔE00 5.51
Red Violet
#9E0168
ΔE00 5.60
Darkish Purple
#751973
ΔE00 6.23
Light Eggplant
#894585
ΔE00 6.30
Grape
#6C3461
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2A73 #2A8A41
analogous
#712A8A #8A2A73 #8A2A43
triadic
#8A2A73 #738A2A #2A738A
tetradic
#8A2A73 #8A712A #2A8A41 #2A438A
square
#8A2A73 #8A712A #2A8A41 #2A438A
split-complementary
#8A2A73 #438A2A #2A8A71
monochromatic
#2C0D25 #5B1C4C #8A2A73 #B9389A #CF60B4
Accessibility & contrast
On white
7.90
#8A2A73 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#8A2A73 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2A73
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2A73 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2A73 | 1.00 | 7.90 | 2.66 | 7.90 |
| #FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4875
Deuteranopia (green-blind)
#4D5771
Tritanopia (blue-blind)
#922E4A
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8a2a73; /* rgb */ color: rgb(138, 42, 115); /* oklch */ color: oklch(45.6% 0.154 338.8);
Tailwind
colors: {
custom: {
50: '#af6c9b',
500: '#8a2a73',
950: '#000000',
},
}SCSS
$custom: #8a2a73; $custom-light: #af6c9b; $custom-dark: #000000;
JSON
{
"hex": "#8a2a73",
"rgb": {
"r": 138,
"g": 42,
"b": 115
},
"hsl": {
"h": 314.375,
"s": 53.333,
"l": 35.294
},
"oklch": {
"l": 0.45645,
"c": 0.15398,
"h": 338.8
},
"luminance": 0.08297
}Semantic roles & 50–950 ramp
primary
#8A2A73
secondary
#5BB471
accent
#DD6E4B
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E