#8A1C6A#8A1C6A
#8A1C6A is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.9% C 0.165 H 342.7°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1C6A |
|---|---|
| RGB | rgb(138, 28, 106) |
| HSL | hsl(317, 66%, 33%) |
| HSV | hsv(317, 80%, 54%) |
| CMYK | cmyk(0%, 79.7%, 23.2%, 45.9%) |
| CIE-LAB | lab(32.43, 52.13, -18.23) |
| CIE-LCH | lch(32.43, 55.23, 340.73°) |
| OKLab | oklab(43.93% 0.1571 -0.0489) |
| OKLCH | oklch(43.93% 0.165 342.7) |
| XYZ | xyz(13.4985, 7.2758, 14.3264) |
| Luminance | 0.0727 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.20
Velvet
#750851
ΔE00 5.84
Rich Purple
#720058
ΔE00 6.00
Dark Magenta
#960056
ΔE00 6.23
Darkish Purple
#751973
ΔE00 6.30
Deep Magenta
#A0025C
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1C6A #1C8A3C
analogous
#731C8A #8A1C6A #8A1C33
triadic
#8A1C6A #6A8A1C #1C6A8A
tetradic
#8A1C6A #8A731C #1C8A3C #1C338A
square
#8A1C6A #8A731C #1C8A3C #1C338A
split-complementary
#8A1C6A #338A1C #1C8A73
monochromatic
#24071C #571243 #8A1C6A #BD2691 #DA47AF
Accessibility & contrast
On white
8.55
#8A1C6A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#8A1C6A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1C6A
8.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1C6A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1C6A | 1.00 | 8.55 | 2.45 | 8.55 |
| #FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28416C
Deuteranopia (green-blind)
#4B5368
Tritanopia (blue-blind)
#931D41
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8a1c6a; /* rgb */ color: rgb(138, 28, 106); /* oklch */ color: oklch(43.9% 0.165 342.7);
Tailwind
colors: {
custom: {
50: '#b06594',
500: '#8a1c6a',
950: '#000000',
},
}SCSS
$custom: #8a1c6a; $custom-light: #b06594; $custom-dark: #000000;
JSON
{
"hex": "#8a1c6a",
"rgb": {
"r": 138,
"g": 28,
"b": 106
},
"hsl": {
"h": 317.455,
"s": 66.265,
"l": 32.549
},
"oklch": {
"l": 0.43934,
"c": 0.16454,
"h": 342.7
},
"luminance": 0.07274
}Semantic roles & 50–950 ramp
primary
#8A1C6A
secondary
#46BB68
accent
#E9703F
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E