#8A1B5E#8A1B5E
#8A1B5E is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.3% C 0.158 H 349.1°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1B5E |
|---|---|
| RGB | rgb(138, 27, 94) |
| HSL | hsl(324, 67%, 32%) |
| HSV | hsv(324, 80%, 54%) |
| CMYK | cmyk(0%, 80.4%, 31.9%, 45.9%) |
| CIE-LAB | lab(31.80, 50.88, -11.46) |
| CIE-LCH | lch(31.80, 52.16, 347.31°) |
| OKLab | oklab(43.31% 0.1556 -0.03) |
| OKLCH | oklch(43.31% 0.158 349.1) |
| XYZ | xyz(12.8943, 6.9968, 11.2590) |
| Luminance | 0.0699 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Magenta
#960056
ΔE00 3.69
Red Violet
#9E0168
ΔE00 3.75
Reddish Purple
#910951
ΔE00 4.09
Dark Fuchsia
#9D0759
ΔE00 4.60
Deep Magenta
#A0025C
ΔE00 4.70
Velvet
#750851
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1B5E #1B8A47
analogous
#7F1B8A #8A1B5E #8A1B26
triadic
#8A1B5E #5E8A1B #1B5E8A
tetradic
#8A1B5E #8A7F1B #1B8A47 #1B268A
square
#8A1B5E #8A7F1B #1B8A47 #1B268A
split-complementary
#8A1B5E #268A1B #1B8A7F
monochromatic
#240718 #57113B #8A1B5E #BD2581 #DB459F
Accessibility & contrast
On white
8.75
#8A1B5E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#8A1B5E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1B5E
8.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1B5E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1B5E | 1.00 | 8.75 | 2.40 | 8.75 |
| #FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E3E60
Deuteranopia (green-blind)
#4F525C
Tritanopia (blue-blind)
#94143A
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8a1b5e; /* rgb */ color: rgb(138, 27, 94); /* oklch */ color: oklch(43.3% 0.158 349.1);
Tailwind
colors: {
custom: {
50: '#b0658b',
500: '#8a1b5e',
950: '#000000',
},
}SCSS
$custom: #8a1b5e; $custom-light: #b0658b; $custom-dark: #000000;
JSON
{
"hex": "#8a1b5e",
"rgb": {
"r": 138,
"g": 27,
"b": 94
},
"hsl": {
"h": 323.784,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.43308,
"c": 0.15846,
"h": 349.1
},
"luminance": 0.06995
}Semantic roles & 50–950 ramp
primary
#8A1B5E
secondary
#45BC74
accent
#EA823E
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D