#8A1B6E#8A1B6E
#8A1B6E is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.1% C 0.168 H 340.6°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1B6E |
|---|---|
| RGB | rgb(138, 27, 110) |
| HSL | hsl(315, 67%, 32%) |
| HSV | hsv(315, 80%, 54%) |
| CMYK | cmyk(0%, 80.4%, 20.3%, 45.9%) |
| CIE-LAB | lab(32.51, 52.98, -20.65) |
| CIE-LCH | lch(32.51, 56.86, 338.70°) |
| OKLab | oklab(44.06% 0.1586 -0.0557) |
| OKLCH | oklch(44.06% 0.168 340.6) |
| XYZ | xyz(13.6881, 7.3143, 15.4398) |
| Luminance | 0.0731 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.75
Darkish Purple
#751973
ΔE00 5.55
Rich Purple
#720058
ΔE00 6.09
Velvet
#750851
ΔE00 6.37
Purple
#800080
ΔE00 6.39
Darkmagenta
#8B008B
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1B6E #1B8A37
analogous
#6F1B8A #8A1B6E #8A1B37
triadic
#8A1B6E #6E8A1B #1B6E8A
tetradic
#8A1B6E #8A6F1B #1B8A37 #1B378A
square
#8A1B6E #8A6F1B #1B8A37 #1B378A
split-complementary
#8A1B6E #378A1B #1B8A6F
monochromatic
#24071C #571145 #8A1B6E #BD2597 #DB45B5
Accessibility & contrast
On white
8.53
#8A1B6E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#8A1B6E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1B6E
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1B6E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1B6E | 1.00 | 8.53 | 2.46 | 8.53 |
| #FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254170
Deuteranopia (green-blind)
#49536C
Tritanopia (blue-blind)
#931E43
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8a1b6e; /* rgb */ color: rgb(138, 27, 110); /* oklch */ color: oklch(44.1% 0.168 340.6);
Tailwind
colors: {
custom: {
50: '#b06598',
500: '#8a1b6e',
950: '#000000',
},
}SCSS
$custom: #8a1b6e; $custom-light: #b06598; $custom-dark: #000000;
JSON
{
"hex": "#8a1b6e",
"rgb": {
"r": 138,
"g": 27,
"b": 110
},
"hsl": {
"h": 315.135,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.44057,
"c": 0.16813,
"h": 340.6
},
"luminance": 0.07313
}Semantic roles & 50–950 ramp
primary
#8A1B6E
secondary
#45BC63
accent
#EA693E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E