#8A2A66#8A2A66
#8A2A66 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.0% C 0.145 H 346.1°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2A66 |
|---|---|
| RGB | rgb(138, 42, 102) |
| HSL | hsl(323, 53%, 35%) |
| HSV | hsv(323, 70%, 54%) |
| CMYK | cmyk(0%, 69.6%, 26.1%, 45.9%) |
| CIE-LAB | lab(34.02, 46.59, -13.22) |
| CIE-LCH | lch(34.02, 48.43, 344.16°) |
| OKLab | oklab(45.04% 0.1409 -0.035) |
| OKLCH | oklch(45.04% 0.145 346.1) |
| XYZ | xyz(13.7080, 8.0199, 13.3939) |
| Luminance | 0.0802 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.46
Dark Magenta
#960056
ΔE00 5.57
Bruise
#7E4071
ΔE00 5.77
Deep Magenta
#A0025C
ΔE00 5.87
Dark Fuchsia
#9D0759
ΔE00 5.90
Reddish Purple
#910951
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2A66 #2A8A4E
analogous
#7E2A8A #8A2A66 #8A2A36
triadic
#8A2A66 #668A2A #2A668A
tetradic
#8A2A66 #8A7E2A #2A8A4E #2A368A
square
#8A2A66 #8A7E2A #2A8A4E #2A368A
split-complementary
#8A2A66 #368A2A #2A8A7E
monochromatic
#2C0D21 #5B1C43 #8A2A66 #B93889 #CF60A5
Accessibility & contrast
On white
8.07
#8A2A66 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#8A2A66 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2A66
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2A66 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2A66 | 1.00 | 8.07 | 2.60 | 8.07 |
| #FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#354668
Deuteranopia (green-blind)
#515664
Tritanopia (blue-blind)
#932844
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #8a2a66; /* rgb */ color: rgb(138, 42, 102); /* oklch */ color: oklch(45.0% 0.145 346.1);
Tailwind
colors: {
custom: {
50: '#af6b91',
500: '#8a2a66',
950: '#000000',
},
}SCSS
$custom: #8a2a66; $custom-light: #af6b91; $custom-dark: #000000;
JSON
{
"hex": "#8a2a66",
"rgb": {
"r": 138,
"g": 42,
"b": 102
},
"hsl": {
"h": 322.5,
"s": 53.333,
"l": 35.294
},
"oklch": {
"l": 0.45039,
"c": 0.1452,
"h": 346.1
},
"luminance": 0.08019
}Semantic roles & 50–950 ramp
primary
#8A2A66
secondary
#5BB47D
accent
#DD824B
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D