#8A2B6B#8A2B6B
#8A2B6B is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.4% C 0.147 H 343.3°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2B6B |
|---|---|
| RGB | rgb(138, 43, 107) |
| HSL | hsl(320, 52%, 35%) |
| HSV | hsv(320, 69%, 54%) |
| CMYK | cmyk(0%, 68.8%, 22.5%, 45.9%) |
| CIE-LAB | lab(34.38, 46.88, -15.85) |
| CIE-LCH | lch(34.38, 49.49, 341.32°) |
| OKLab | oklab(45.37% 0.1408 -0.0423) |
| OKLCH | oklch(45.37% 0.147 343.3) |
| XYZ | xyz(13.9994, 8.1939, 14.7514) |
| Luminance | 0.0819 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.76
Bruise
#7E4071
ΔE00 5.24
Grape
#6C3461
ΔE00 6.48
Dark Magenta
#960056
ΔE00 6.55
Deep Magenta
#A0025C
ΔE00 6.72
Dark Fuchsia
#9D0759
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2B6B #2B8A4A
analogous
#792B8A #8A2B6B #8A2B3B
triadic
#8A2B6B #6B8A2B #2B6B8A
tetradic
#8A2B6B #8A792B #2B8A4A #2B3B8A
square
#8A2B6B #8A792B #2B8A4A #2B3B8A
split-complementary
#8A2B6B #3B8A2B #2B8A79
monochromatic
#2D0E23 #5B1C47 #8A2B6B #B93A8F #CE61AB
Accessibility & contrast
On white
7.96
#8A2B6B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#8A2B6B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2B6B
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2B6B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2B6B | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#34476D
Deuteranopia (green-blind)
#505769
Tritanopia (blue-blind)
#932B47
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8a2b6b; /* rgb */ color: rgb(138, 43, 107); /* oklch */ color: oklch(45.4% 0.147 343.3);
Tailwind
colors: {
custom: {
50: '#af6c95',
500: '#8a2b6b',
950: '#000000',
},
}SCSS
$custom: #8a2b6b; $custom-light: #af6c95; $custom-dark: #000000;
JSON
{
"hex": "#8a2b6b",
"rgb": {
"r": 138,
"g": 43,
"b": 107
},
"hsl": {
"h": 319.579,
"s": 52.486,
"l": 35.49
},
"oklch": {
"l": 0.45371,
"c": 0.14703,
"h": 343.3
},
"luminance": 0.08193
}Semantic roles & 50–950 ramp
primary
#8A2B6B
secondary
#5DB479
accent
#DC7B4C
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E