#8A2271#8A2271
#8A2271 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.8% C 0.163 H 339.4°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2271 |
|---|---|
| RGB | rgb(138, 34, 113) |
| HSL | hsl(314, 60%, 34%) |
| HSV | hsv(314, 75%, 54%) |
| CMYK | cmyk(0%, 75.4%, 18.1%, 45.9%) |
| CIE-LAB | lab(33.44, 51.18, -21.12) |
| CIE-LCH | lch(33.44, 55.37, 337.58°) |
| OKLab | oklab(44.77% 0.1523 -0.0571) |
| OKLCH | oklch(44.77% 0.163 339.4) |
| XYZ | xyz(14.0343, 7.7409, 16.3746) |
| Luminance | 0.0774 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.14
Darkish Purple
#751973
ΔE00 5.62
Warm Purple
#952E8F
ΔE00 5.97
Bruise
#7E4071
ΔE00 6.44
Purple
#800080
ΔE00 6.49
Darkmagenta
#8B008B
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2271 #228A3B
analogous
#6F228A #8A2271 #8A223D
triadic
#8A2271 #718A22 #22718A
tetradic
#8A2271 #8A6F22 #228A3B #223D8A
square
#8A2271 #8A6F22 #228A3B #223D8A
split-complementary
#8A2271 #3D8A22 #228A6F
monochromatic
#280A21 #591649 #8A2271 #BB2E99 #D452B5
Accessibility & contrast
On white
8.24
#8A2271 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#8A2271 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2271
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2271 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2271 | 1.00 | 8.24 | 2.55 | 8.24 |
| #FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#294473
Deuteranopia (green-blind)
#4B556F
Tritanopia (blue-blind)
#922647
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8a2271; /* rgb */ color: rgb(138, 34, 113); /* oklch */ color: oklch(44.8% 0.163 339.4);
Tailwind
colors: {
custom: {
50: '#b0689a',
500: '#8a2271',
950: '#000000',
},
}SCSS
$custom: #8a2271; $custom-light: #b0689a; $custom-dark: #000000;
JSON
{
"hex": "#8a2271",
"rgb": {
"r": 138,
"g": 34,
"b": 113
},
"hsl": {
"h": 314.423,
"s": 60.465,
"l": 33.725
},
"oklch": {
"l": 0.44772,
"c": 0.16264,
"h": 339.4
},
"luminance": 0.0774
}Semantic roles & 50–950 ramp
primary
#8A2271
secondary
#50B869
accent
#E46B44
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E