#8A2A6A#8A2A6A
#8A2A6A is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.2% C 0.148 H 343.7°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2A6A |
|---|---|
| RGB | rgb(138, 42, 106) |
| HSL | hsl(320, 53%, 35%) |
| HSV | hsv(320, 70%, 54%) |
| CMYK | cmyk(0%, 69.6%, 23.2%, 45.9%) |
| CIE-LAB | lab(34.19, 47.15, -15.51) |
| CIE-LCH | lch(34.19, 49.64, 341.79°) |
| OKLab | oklab(45.22% 0.1418 -0.0414) |
| OKLCH | oklch(45.22% 0.148 343.7) |
| XYZ | xyz(13.9112, 8.1012, 14.4639) |
| Luminance | 0.0810 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.61
Bruise
#7E4071
ΔE00 5.43
Dark Magenta
#960056
ΔE00 6.32
Deep Magenta
#A0025C
ΔE00 6.53
Grape
#6C3461
ΔE00 6.53
Dark Fuchsia
#9D0759
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2A6A #2A8A4A
analogous
#7A2A8A #8A2A6A #8A2A3A
triadic
#8A2A6A #6A8A2A #2A6A8A
tetradic
#8A2A6A #8A7A2A #2A8A4A #2A3A8A
square
#8A2A6A #8A7A2A #2A8A4A #2A3A8A
split-complementary
#8A2A6A #3A8A2A #2A8A7A
monochromatic
#2C0D22 #5B1C46 #8A2A6A #B9388E #CF60AA
Accessibility & contrast
On white
8.02
#8A2A6A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#8A2A6A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2A6A
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2A6A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2A6A | 1.00 | 8.02 | 2.62 | 8.02 |
| #FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#33466C
Deuteranopia (green-blind)
#505668
Tritanopia (blue-blind)
#932A46
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #8a2a6a; /* rgb */ color: rgb(138, 42, 106); /* oklch */ color: oklch(45.2% 0.148 343.7);
Tailwind
colors: {
custom: {
50: '#af6b94',
500: '#8a2a6a',
950: '#000000',
},
}SCSS
$custom: #8a2a6a; $custom-light: #af6b94; $custom-dark: #000000;
JSON
{
"hex": "#8a2a6a",
"rgb": {
"r": 138,
"g": 42,
"b": 106
},
"hsl": {
"h": 320,
"s": 53.333,
"l": 35.294
},
"oklch": {
"l": 0.45218,
"c": 0.14775,
"h": 343.7
},
"luminance": 0.081
}Semantic roles & 50–950 ramp
primary
#8A2A6A
secondary
#5BB479
accent
#DD7C4B
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E