#8A1E6C#8A1E6C
#8A1E6C is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.2% C 0.164 H 341.8°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1E6C |
|---|---|
| RGB | rgb(138, 30, 108) |
| HSL | hsl(317, 64%, 33%) |
| HSV | hsv(317, 78%, 54%) |
| CMYK | cmyk(0%, 78.3%, 21.7%, 45.9%) |
| CIE-LAB | lab(32.74, 51.79, -19.03) |
| CIE-LCH | lch(32.74, 55.17, 339.82°) |
| OKLab | oklab(44.19% 0.1556 -0.0512) |
| OKLCH | oklch(44.19% 0.164 341.8) |
| XYZ | xyz(13.6527, 7.4159, 14.8969) |
| Luminance | 0.0741 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.44
Darkish Purple
#751973
ΔE00 6.08
Velvet
#750851
ΔE00 6.20
Rich Purple
#720058
ΔE00 6.22
Dark Magenta
#960056
ΔE00 6.63
Bruise
#7E4071
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1E6C #1E8A3C
analogous
#721E8A #8A1E6C #8A1E36
triadic
#8A1E6C #6C8A1E #1E6C8A
tetradic
#8A1E6C #8A721E #1E8A3C #1E368A
square
#8A1E6C #8A721E #1E8A3C #1E368A
split-complementary
#8A1E6C #368A1E #1E8A72
monochromatic
#25081D #581345 #8A1E6C #BC2993 #D84BB1
Accessibility & contrast
On white
8.46
#8A1E6C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#8A1E6C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1E6C
8.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1E6C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1E6C | 1.00 | 8.46 | 2.48 | 8.46 |
| #FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28426E
Deuteranopia (green-blind)
#4B536A
Tritanopia (blue-blind)
#932043
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #8a1e6c; /* rgb */ color: rgb(138, 30, 108); /* oklch */ color: oklch(44.2% 0.164 341.8);
Tailwind
colors: {
custom: {
50: '#b06696',
500: '#8a1e6c',
950: '#000000',
},
}SCSS
$custom: #8a1e6c; $custom-light: #b06696; $custom-dark: #000000;
JSON
{
"hex": "#8a1e6c",
"rgb": {
"r": 138,
"g": 30,
"b": 108
},
"hsl": {
"h": 316.667,
"s": 64.286,
"l": 32.941
},
"oklch": {
"l": 0.44187,
"c": 0.16375,
"h": 341.8
},
"luminance": 0.07415
}Semantic roles & 50–950 ramp
primary
#8A1E6C
secondary
#4ABA69
accent
#E76F41
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E