#8A1F6E#8A1F6E
#8A1F6E is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.4% C 0.164 H 340.8°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F6E |
|---|---|
| RGB | rgb(138, 31, 110) |
| HSL | hsl(316, 63%, 33%) |
| HSV | hsv(316, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 20.3%, 45.9%) |
| CIE-LAB | lab(32.94, 51.75, -19.98) |
| CIE-LCH | lch(32.94, 55.48, 338.88°) |
| OKLab | oklab(44.37% 0.1549 -0.0539) |
| OKLCH | oklch(44.37% 0.164 340.8) |
| XYZ | xyz(13.7861, 7.5104, 15.4724) |
| Luminance | 0.0751 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.70
Darkish Purple
#751973
ΔE00 5.82
Rich Purple
#720058
ΔE00 6.39
Velvet
#750851
ΔE00 6.52
Warm Purple
#952E8F
ΔE00 6.61
Purple
#800080
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F6E #1F8A3B
analogous
#701F8A #8A1F6E #8A1F38
triadic
#8A1F6E #6E8A1F #1F6E8A
tetradic
#8A1F6E #8A701F #1F8A3B #1F388A
square
#8A1F6E #8A701F #1F8A3B #1F388A
split-complementary
#8A1F6E #388A1F #1F8A70
monochromatic
#26091E #581446 #8A1F6E #BC2A96 #D74CB3
Accessibility & contrast
On white
8.39
#8A1F6E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#8A1F6E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F6E
8.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F6E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F6E | 1.00 | 8.39 | 2.50 | 8.39 |
| #FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284370
Deuteranopia (green-blind)
#4B546C
Tritanopia (blue-blind)
#932244
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #8a1f6e; /* rgb */ color: rgb(138, 31, 110); /* oklch */ color: oklch(44.4% 0.164 340.8);
Tailwind
colors: {
custom: {
50: '#b06797',
500: '#8a1f6e',
950: '#000000',
},
}SCSS
$custom: #8a1f6e; $custom-light: #b06797; $custom-dark: #000000;
JSON
{
"hex": "#8a1f6e",
"rgb": {
"r": 138,
"g": 31,
"b": 110
},
"hsl": {
"h": 315.701,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.44367,
"c": 0.16398,
"h": 340.8
},
"luminance": 0.07509
}Semantic roles & 50–950 ramp
primary
#8A1F6E
secondary
#4BBA68
accent
#E66D41
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E