#8A2A79#8A2A79
#8A2A79 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.158 H 335.7°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2A79 |
|---|---|
| RGB | rgb(138, 42, 121) |
| HSL | hsl(311, 53%, 35%) |
| HSV | hsv(311, 70%, 54%) |
| CMYK | cmyk(0%, 69.6%, 12.3%, 45.9%) |
| CIE-LAB | lab(34.88, 49.43, -23.91) |
| CIE-LCH | lch(34.88, 54.90, 334.19°) |
| OKLab | oklab(45.95% 0.1445 -0.0651) |
| OKLCH | oklch(45.95% 0.158 335.7) |
| XYZ | xyz(14.7606, 8.4409, 18.9373) |
| Luminance | 0.0844 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.30
Darkish Purple
#751973
ΔE00 5.62
Bruise
#7E4071
ΔE00 5.77
Light Eggplant
#894585
ΔE00 5.85
Darkmagenta
#8B008B
ΔE00 5.94
Purple
#800080
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2A79 #2A8A3B
analogous
#6B2A8A #8A2A79 #8A2A49
triadic
#8A2A79 #798A2A #2A798A
tetradic
#8A2A79 #8A6B2A #2A8A3B #2A498A
square
#8A2A79 #8A6B2A #2A8A3B #2A498A
split-complementary
#8A2A79 #498A2A #2A8A6B
monochromatic
#2C0D27 #5B1C50 #8A2A79 #B938A2 #CF60BB
Accessibility & contrast
On white
7.81
#8A2A79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#8A2A79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2A79
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2A79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2A79 | 1.00 | 7.81 | 2.69 | 7.81 |
| #FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B497B
Deuteranopia (green-blind)
#4B5777
Tritanopia (blue-blind)
#91304E
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #8a2a79; /* rgb */ color: rgb(138, 42, 121); /* oklch */ color: oklch(45.9% 0.158 335.7);
Tailwind
colors: {
custom: {
50: '#af6ca0',
500: '#8a2a79',
950: '#000000',
},
}SCSS
$custom: #8a2a79; $custom-light: #af6ca0; $custom-dark: #000000;
JSON
{
"hex": "#8a2a79",
"rgb": {
"r": 138,
"g": 42,
"b": 121
},
"hsl": {
"h": 310.625,
"s": 53.333,
"l": 35.294
},
"oklch": {
"l": 0.45948,
"c": 0.15845,
"h": 335.7
},
"luminance": 0.0844
}Semantic roles & 50–950 ramp
primary
#8A2A79
secondary
#5BB46B
accent
#DD654B
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E