#8A1B5A#8A1B5A
#8A1B5A is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.1% C 0.156 H 351.3°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1B5A |
|---|---|
| RGB | rgb(138, 27, 90) |
| HSL | hsl(326, 67%, 32%) |
| HSV | hsv(326, 80%, 54%) |
| CMYK | cmyk(0%, 80.4%, 34.8%, 45.9%) |
| CIE-LAB | lab(31.64, 50.40, -9.10) |
| CIE-LCH | lch(31.64, 51.22, 349.76°) |
| OKLab | oklab(43.14% 0.1546 -0.0236) |
| OKLCH | oklch(43.14% 0.156 351.3) |
| XYZ | xyz(12.7194, 6.9269, 10.3381) |
| Luminance | 0.0693 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Magenta
#960056
ΔE00 3.00
Reddish Purple
#910951
ΔE00 3.14
Dark Fuchsia
#9D0759
ΔE00 4.00
Mulberry
#920A4E
ΔE00 4.08
Red Violet
#9E0168
ΔE00 4.14
Deep Magenta
#A0025C
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1B5A #1B8A4B
analogous
#831B8A #8A1B5A #8A1B22
triadic
#8A1B5A #5A8A1B #1B5A8A
tetradic
#8A1B5A #8A831B #1B8A4B #1B228A
square
#8A1B5A #8A831B #1B8A4B #1B228A
split-complementary
#8A1B5A #228A1B #1B8A83
monochromatic
#240717 #571139 #8A1B5A #BD257B #DB459A
Accessibility & contrast
On white
8.81
#8A1B5A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#8A1B5A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1B5A
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1B5A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1B5A | 1.00 | 8.81 | 2.39 | 8.81 |
| #FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303E5C
Deuteranopia (green-blind)
#505258
Tritanopia (blue-blind)
#951038
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8a1b5a; /* rgb */ color: rgb(138, 27, 90); /* oklch */ color: oklch(43.1% 0.156 351.3);
Tailwind
colors: {
custom: {
50: '#b16488',
500: '#8a1b5a',
950: '#000000',
},
}SCSS
$custom: #8a1b5a; $custom-light: #b16488; $custom-dark: #000000;
JSON
{
"hex": "#8a1b5a",
"rgb": {
"r": 138,
"g": 27,
"b": 90
},
"hsl": {
"h": 325.946,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.4314,
"c": 0.15636,
"h": 351.3
},
"luminance": 0.06925
}Semantic roles & 50–950 ramp
primary
#8A1B5A
secondary
#45BC78
accent
#EA883E
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C