#8A2E66#8A2E66
#8A2E66 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.5% C 0.140 H 346.5°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2E66 |
|---|---|
| RGB | rgb(138, 46, 102) |
| HSL | hsl(323, 50%, 36%) |
| HSV | hsv(323, 67%, 54%) |
| CMYK | cmyk(0%, 66.7%, 26.1%, 45.9%) |
| CIE-LAB | lab(34.64, 44.90, -12.29) |
| CIE-LCH | lch(34.64, 46.55, 344.70°) |
| OKLab | oklab(45.49% 0.1357 -0.0325) |
| OKLCH | oklch(45.49% 0.14 346.5) |
| XYZ | xyz(13.8570, 8.3180, 13.4435) |
| Luminance | 0.0832 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.92
Bruise
#7E4071
ΔE00 5.36
Dark Magenta
#960056
ΔE00 5.85
Deep Magenta
#A0025C
ΔE00 6.04
Dark Fuchsia
#9D0759
ΔE00 6.04
Reddish Purple
#910951
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2E66 #2E8A52
analogous
#802E8A #8A2E66 #8A2E38
triadic
#8A2E66 #668A2E #2E668A
tetradic
#8A2E66 #8A802E #2E8A52 #2E388A
square
#8A2E66 #8A802E #2E8A52 #2E388A
split-complementary
#8A2E66 #388A2E #2E8A80
monochromatic
#2E0F22 #5C1F44 #8A2E66 #B83D88 #CC66A4
Accessibility & contrast
On white
7.88
#8A2E66 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#8A2E66 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2E66
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2E66 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2E66 | 1.00 | 7.88 | 2.66 | 7.88 |
| #FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#394768
Deuteranopia (green-blind)
#535764
Tritanopia (blue-blind)
#932C46
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8a2e66; /* rgb */ color: rgb(138, 46, 102); /* oklch */ color: oklch(45.5% 0.140 346.5);
Tailwind
colors: {
custom: {
50: '#af6d91',
500: '#8a2e66',
950: '#000000',
},
}SCSS
$custom: #8a2e66; $custom-light: #af6d91; $custom-dark: #000000;
JSON
{
"hex": "#8a2e66",
"rgb": {
"r": 138,
"g": 46,
"b": 102
},
"hsl": {
"h": 323.478,
"s": 50,
"l": 36.078
},
"oklch": {
"l": 0.45489,
"c": 0.13954,
"h": 346.5
},
"luminance": 0.08317
}Semantic roles & 50–950 ramp
primary
#8A2E66
secondary
#61B381
accent
#DA854E
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D