#8A1B6C#8A1B6C
#8A1B6C is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.0% C 0.167 H 341.6°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1B6C |
|---|---|
| RGB | rgb(138, 27, 108) |
| HSL | hsl(316, 67%, 32%) |
| HSV | hsv(316, 80%, 54%) |
| CMYK | cmyk(0%, 80.4%, 21.7%, 45.9%) |
| CIE-LAB | lab(32.42, 52.70, -19.52) |
| CIE-LCH | lch(32.42, 56.20, 339.67°) |
| OKLab | oklab(43.96% 0.1583 -0.0525) |
| OKLCH | oklch(43.96% 0.167 341.6) |
| XYZ | xyz(13.5804, 7.2713, 14.8728) |
| Luminance | 0.0727 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.47
Darkish Purple
#751973
ΔE00 5.88
Rich Purple
#720058
ΔE00 5.99
Velvet
#750851
ΔE00 6.07
Dark Magenta
#960056
ΔE00 6.68
Purple
#800080
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1B6C #1B8A39
analogous
#701B8A #8A1B6C #8A1B35
triadic
#8A1B6C #6C8A1B #1B6C8A
tetradic
#8A1B6C #8A701B #1B8A39 #1B358A
square
#8A1B6C #8A701B #1B8A39 #1B358A
split-complementary
#8A1B6C #358A1B #1B8A70
monochromatic
#24071C #571144 #8A1B6C #BD2594 #DB45B2
Accessibility & contrast
On white
8.56
#8A1B6C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#8A1B6C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1B6C
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1B6C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1B6C | 1.00 | 8.56 | 2.45 | 8.56 |
| #FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26416E
Deuteranopia (green-blind)
#4A536A
Tritanopia (blue-blind)
#931D42
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8a1b6c; /* rgb */ color: rgb(138, 27, 108); /* oklch */ color: oklch(44.0% 0.167 341.6);
Tailwind
colors: {
custom: {
50: '#b06596',
500: '#8a1b6c',
950: '#000000',
},
}SCSS
$custom: #8a1b6c; $custom-light: #b06596; $custom-dark: #000000;
JSON
{
"hex": "#8a1b6c",
"rgb": {
"r": 138,
"g": 27,
"b": 108
},
"hsl": {
"h": 316.216,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.43957,
"c": 0.16683,
"h": 341.6
},
"luminance": 0.0727
}Semantic roles & 50–950 ramp
primary
#8A1B6C
secondary
#45BC65
accent
#EA6C3E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E