#8A226A#8A226A
#8A226A is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.4% C 0.158 H 343.1°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #8A226A |
|---|---|
| RGB | rgb(138, 34, 106) |
| HSL | hsl(318, 60%, 34%) |
| HSV | hsv(318, 75%, 54%) |
| CMYK | cmyk(0%, 75.4%, 23.2%, 45.9%) |
| CIE-LAB | lab(33.11, 50.18, -17.17) |
| CIE-LCH | lch(33.11, 53.04, 341.11°) |
| OKLab | oklab(44.43% 0.1511 -0.046) |
| OKLCH | oklch(44.43% 0.158 343.1) |
| XYZ | xyz(13.6553, 7.5894, 14.3786) |
| Luminance | 0.0759 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.23
Dark Magenta
#960056
ΔE00 6.17
Velvet
#750851
ΔE00 6.18
Bruise
#7E4071
ΔE00 6.45
Deep Magenta
#A0025C
ΔE00 6.56
Rich Purple
#720058
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A226A #228A42
analogous
#76228A #8A226A #8A2236
triadic
#8A226A #6A8A22 #226A8A
tetradic
#8A226A #8A7622 #228A42 #22368A
square
#8A226A #8A7622 #228A42 #22368A
split-complementary
#8A226A #368A22 #228A76
monochromatic
#280A1F #591644 #8A226A #BB2E90 #D452AC
Accessibility & contrast
On white
8.34
#8A226A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#8A226A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A226A
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A226A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A226A | 1.00 | 8.34 | 2.52 | 8.34 |
| #FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D436C
Deuteranopia (green-blind)
#4D5468
Tritanopia (blue-blind)
#932243
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #8a226a; /* rgb */ color: rgb(138, 34, 106); /* oklch */ color: oklch(44.4% 0.158 343.1);
Tailwind
colors: {
custom: {
50: '#b06894',
500: '#8a226a',
950: '#000000',
},
}SCSS
$custom: #8a226a; $custom-light: #b06894; $custom-dark: #000000;
JSON
{
"hex": "#8a226a",
"rgb": {
"r": 138,
"g": 34,
"b": 106
},
"hsl": {
"h": 318.462,
"s": 60.465,
"l": 33.725
},
"oklch": {
"l": 0.44431,
"c": 0.15795,
"h": 343.1
},
"luminance": 0.07588
}Semantic roles & 50–950 ramp
primary
#8A226A
secondary
#50B870
accent
#E47544
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E