#8A1B72#8A1B72
#8A1B72 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.3% C 0.171 H 338.7°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1B72 |
|---|---|
| RGB | rgb(138, 27, 114) |
| HSL | hsl(313, 67%, 32%) |
| HSV | hsv(313, 80%, 54%) |
| CMYK | cmyk(0%, 80.4%, 17.4%, 45.9%) |
| CIE-LAB | lab(32.71, 53.55, -22.89) |
| CIE-LCH | lch(32.71, 58.23, 336.85°) |
| OKLab | oklab(44.26% 0.1591 -0.0621) |
| OKLCH | oklch(44.26% 0.171 338.7) |
| XYZ | xyz(13.9108, 7.4034, 16.6127) |
| Luminance | 0.0740 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 4.98
Red Violet
#9E0168
ΔE00 5.38
Purple
#800080
ΔE00 5.60
Darkmagenta
#8B008B
ΔE00 5.77
Warm Purple
#952E8F
ΔE00 6.00
Rich Purple
#720058
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1B72 #1B8A33
analogous
#6B1B8A #8A1B72 #8A1B3A
triadic
#8A1B72 #728A1B #1B728A
tetradic
#8A1B72 #8A6B1B #1B8A33 #1B3A8A
square
#8A1B72 #8A6B1B #1B8A33 #1B3A8A
split-complementary
#8A1B72 #3A8A1B #1B8A6B
monochromatic
#24071D #571148 #8A1B72 #BD259C #DB45BA
Accessibility & contrast
On white
8.47
#8A1B72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#8A1B72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1B72
8.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1B72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1B72 | 1.00 | 8.47 | 2.48 | 8.47 |
| #FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#224274
Deuteranopia (green-blind)
#485370
Tritanopia (blue-blind)
#922145
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #8a1b72; /* rgb */ color: rgb(138, 27, 114); /* oklch */ color: oklch(44.3% 0.171 338.7);
Tailwind
colors: {
custom: {
50: '#b0659b',
500: '#8a1b72',
950: '#000000',
},
}SCSS
$custom: #8a1b72; $custom-light: #b0659b; $custom-dark: #000000;
JSON
{
"hex": "#8a1b72",
"rgb": {
"r": 138,
"g": 27,
"b": 114
},
"hsl": {
"h": 312.973,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.44262,
"c": 0.1708,
"h": 338.7
},
"luminance": 0.07402
}Semantic roles & 50–950 ramp
primary
#8A1B72
secondary
#45BC5F
accent
#EA633E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E