#8A1E6D#8A1E6D
#8A1E6D is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.2% C 0.164 H 341.3°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1E6D |
|---|---|
| RGB | rgb(138, 30, 109) |
| HSL | hsl(316, 64%, 33%) |
| HSV | hsv(316, 78%, 54%) |
| CMYK | cmyk(0%, 78.3%, 21%, 45.9%) |
| CIE-LAB | lab(32.78, 51.93, -19.59) |
| CIE-LCH | lch(32.78, 55.50, 339.33°) |
| OKLab | oklab(44.24% 0.1557 -0.0528) |
| OKLCH | oklch(44.24% 0.164 341.3) |
| XYZ | xyz(13.7063, 7.4374, 15.1788) |
| Luminance | 0.0744 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.57
Darkish Purple
#751973
ΔE00 5.91
Rich Purple
#720058
ΔE00 6.26
Velvet
#750851
ΔE00 6.33
Warm Purple
#952E8F
ΔE00 6.83
Dark Magenta
#960056
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1E6D #1E8A3B
analogous
#711E8A #8A1E6D #8A1E37
triadic
#8A1E6D #6D8A1E #1E6D8A
tetradic
#8A1E6D #8A711E #1E8A3B #1E378A
square
#8A1E6D #8A711E #1E8A3B #1E378A
split-complementary
#8A1E6D #378A1E #1E8A71
monochromatic
#25081E #581345 #8A1E6D #BC2995 #D84BB2
Accessibility & contrast
On white
8.44
#8A1E6D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#8A1E6D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1E6D
8.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1E6D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1E6D | 1.00 | 8.44 | 2.49 | 8.44 |
| #FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28426F
Deuteranopia (green-blind)
#4B536B
Tritanopia (blue-blind)
#932043
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #8a1e6d; /* rgb */ color: rgb(138, 30, 109); /* oklch */ color: oklch(44.2% 0.164 341.3);
Tailwind
colors: {
custom: {
50: '#b06697',
500: '#8a1e6d',
950: '#000000',
},
}SCSS
$custom: #8a1e6d; $custom-light: #b06697; $custom-dark: #000000;
JSON
{
"hex": "#8a1e6d",
"rgb": {
"r": 138,
"g": 30,
"b": 109
},
"hsl": {
"h": 316.111,
"s": 64.286,
"l": 32.941
},
"oklch": {
"l": 0.44236,
"c": 0.1644,
"h": 341.3
},
"luminance": 0.07436
}Semantic roles & 50–950 ramp
primary
#8A1E6D
secondary
#4ABA68
accent
#E76D41
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E