#8A216A#8A216A
#8A216A is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.3% C 0.159 H 343.0°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #8A216A |
|---|---|
| RGB | rgb(138, 33, 106) |
| HSL | hsl(318, 61%, 34%) |
| HSV | hsv(318, 76%, 54%) |
| CMYK | cmyk(0%, 76.1%, 23.2%, 45.9%) |
| CIE-LAB | lab(32.99, 50.53, -17.36) |
| CIE-LCH | lch(32.99, 53.42, 341.04°) |
| OKLab | oklab(44.34% 0.1522 -0.0465) |
| OKLCH | oklch(44.34% 0.159 343) |
| XYZ | xyz(13.6271, 7.5330, 14.3692) |
| Luminance | 0.0753 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.21
Velvet
#750851
ΔE00 6.12
Dark Magenta
#960056
ΔE00 6.18
Rich Purple
#720058
ΔE00 6.46
Bruise
#7E4071
ΔE00 6.57
Deep Magenta
#A0025C
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A216A #218A41
analogous
#75218A #8A216A #8A2135
triadic
#8A216A #6A8A21 #216A8A
tetradic
#8A216A #8A7521 #218A41 #21358A
square
#8A216A #8A7521 #218A41 #21358A
split-complementary
#8A216A #358A21 #218A75
monochromatic
#27091E #591544 #8A216A #BB2D90 #D550AD
Accessibility & contrast
On white
8.38
#8A216A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#8A216A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A216A
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A216A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A216A | 1.00 | 8.38 | 2.51 | 8.38 |
| #FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C436C
Deuteranopia (green-blind)
#4D5468
Tritanopia (blue-blind)
#932143
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #8a216a; /* rgb */ color: rgb(138, 33, 106); /* oklch */ color: oklch(44.3% 0.159 343.0);
Tailwind
colors: {
custom: {
50: '#b06794',
500: '#8a216a',
950: '#000000',
},
}SCSS
$custom: #8a216a; $custom-light: #b06794; $custom-dark: #000000;
JSON
{
"hex": "#8a216a",
"rgb": {
"r": 138,
"g": 33,
"b": 106
},
"hsl": {
"h": 318.286,
"s": 61.404,
"l": 33.529
},
"oklch": {
"l": 0.44342,
"c": 0.15912,
"h": 343
},
"luminance": 0.07532
}Semantic roles & 50–950 ramp
primary
#8A216A
secondary
#4EB96F
accent
#E57443
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E