#8A1B71#8A1B71
#8A1B71 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.2% C 0.170 H 339.2°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1B71 |
|---|---|
| RGB | rgb(138, 27, 113) |
| HSL | hsl(314, 67%, 32%) |
| HSV | hsv(314, 80%, 54%) |
| CMYK | cmyk(0%, 80.4%, 18.1%, 45.9%) |
| CIE-LAB | lab(32.66, 53.40, -22.33) |
| CIE-LCH | lch(32.66, 57.89, 337.31°) |
| OKLab | oklab(44.21% 0.159 -0.0605) |
| OKLCH | oklch(44.21% 0.17 339.2) |
| XYZ | xyz(13.8542, 7.3808, 16.3146) |
| Luminance | 0.0738 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 5.11
Red Violet
#9E0168
ΔE00 5.22
Purple
#800080
ΔE00 5.79
Darkmagenta
#8B008B
ΔE00 5.99
Warm Purple
#952E8F
ΔE00 6.17
Rich Purple
#720058
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1B71 #1B8A34
analogous
#6C1B8A #8A1B71 #8A1B39
triadic
#8A1B71 #718A1B #1B718A
tetradic
#8A1B71 #8A6C1B #1B8A34 #1B398A
square
#8A1B71 #8A6C1B #1B8A34 #1B398A
split-complementary
#8A1B71 #398A1B #1B8A6C
monochromatic
#24071D #571147 #8A1B71 #BD259B #DB45B9
Accessibility & contrast
On white
8.48
#8A1B71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#8A1B71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1B71
8.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1B71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1B71 | 1.00 | 8.48 | 2.48 | 8.48 |
| #FFFFFF | 8.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234273
Deuteranopia (green-blind)
#48536F
Tritanopia (blue-blind)
#922045
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #8a1b71; /* rgb */ color: rgb(138, 27, 113); /* oklch */ color: oklch(44.2% 0.170 339.2);
Tailwind
colors: {
custom: {
50: '#b0659a',
500: '#8a1b71',
950: '#000000',
},
}SCSS
$custom: #8a1b71; $custom-light: #b0659a; $custom-dark: #000000;
JSON
{
"hex": "#8a1b71",
"rgb": {
"r": 138,
"g": 27,
"b": 113
},
"hsl": {
"h": 313.514,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.4421,
"c": 0.17013,
"h": 339.2
},
"luminance": 0.07379
}Semantic roles & 50–950 ramp
primary
#8A1B71
secondary
#45BC60
accent
#EA643E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E