#8A2C6A#8A2C6A
#8A2C6A is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.4% C 0.145 H 343.9°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2C6A |
|---|---|
| RGB | rgb(138, 44, 106) |
| HSL | hsl(320, 52%, 36%) |
| HSV | hsv(320, 68%, 54%) |
| CMYK | cmyk(0%, 68.1%, 23.2%, 45.9%) |
| CIE-LAB | lab(34.49, 46.32, -15.05) |
| CIE-LCH | lch(34.49, 48.71, 342.00°) |
| OKLab | oklab(45.44% 0.1393 -0.0401) |
| OKLCH | oklch(45.44% 0.145 343.9) |
| XYZ | xyz(13.9839, 8.2466, 14.4882) |
| Luminance | 0.0824 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.78
Bruise
#7E4071
ΔE00 5.17
Dark Magenta
#960056
ΔE00 6.41
Grape
#6C3461
ΔE00 6.46
Deep Magenta
#A0025C
ΔE00 6.57
Dark Fuchsia
#9D0759
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2C6A #2C8A4C
analogous
#7B2C8A #8A2C6A #8A2C3B
triadic
#8A2C6A #6A8A2C #2C6A8A
tetradic
#8A2C6A #8A7B2C #2C8A4C #2C3B8A
square
#8A2C6A #8A7B2C #2C8A4C #2C3B8A
split-complementary
#8A2C6A #3B8A2C #2C8A7B
monochromatic
#2D0E23 #5C1D46 #8A2C6A #B83B8E #CD63A9
Accessibility & contrast
On white
7.93
#8A2C6A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#8A2C6A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2C6A
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2C6A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2C6A | 1.00 | 7.93 | 2.65 | 7.93 |
| #FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#35476C
Deuteranopia (green-blind)
#515768
Tritanopia (blue-blind)
#932C47
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8a2c6a; /* rgb */ color: rgb(138, 44, 106); /* oklch */ color: oklch(45.4% 0.145 343.9);
Tailwind
colors: {
custom: {
50: '#af6c94',
500: '#8a2c6a',
950: '#000000',
},
}SCSS
$custom: #8a2c6a; $custom-light: #af6c94; $custom-dark: #000000;
JSON
{
"hex": "#8a2c6a",
"rgb": {
"r": 138,
"g": 44,
"b": 106
},
"hsl": {
"h": 320.426,
"s": 51.648,
"l": 35.686
},
"oklch": {
"l": 0.45436,
"c": 0.14497,
"h": 343.9
},
"luminance": 0.08245
}Semantic roles & 50–950 ramp
primary
#8A2C6A
secondary
#5EB47B
accent
#DB7D4D
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E