#8A1F6A#8A1F6A
#8A1F6A is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.2% C 0.161 H 342.9°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F6A |
|---|---|
| RGB | rgb(138, 31, 106) |
| HSL | hsl(318, 63%, 33%) |
| HSV | hsv(318, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 23.2%, 45.9%) |
| CIE-LAB | lab(32.76, 51.19, -17.72) |
| CIE-LCH | lch(32.76, 54.17, 340.91°) |
| OKLab | oklab(44.17% 0.1542 -0.0475) |
| OKLCH | oklch(44.17% 0.161 342.9) |
| XYZ | xyz(13.5732, 7.4253, 14.3513) |
| Luminance | 0.0742 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.19
Velvet
#750851
ΔE00 6.00
Dark Magenta
#960056
ΔE00 6.19
Rich Purple
#720058
ΔE00 6.26
Darkish Purple
#751973
ΔE00 6.52
Deep Magenta
#A0025C
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F6A #1F8A3F
analogous
#741F8A #8A1F6A #8A1F34
triadic
#8A1F6A #6A8A1F #1F6A8A
tetradic
#8A1F6A #8A741F #1F8A3F #1F348A
square
#8A1F6A #8A741F #1F8A3F #1F348A
split-complementary
#8A1F6A #348A1F #1F8A74
monochromatic
#26091D #581444 #8A1F6A #BC2A90 #D74CAE
Accessibility & contrast
On white
8.45
#8A1F6A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#8A1F6A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F6A
8.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F6A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F6A | 1.00 | 8.45 | 2.48 | 8.45 |
| #FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A426C
Deuteranopia (green-blind)
#4C5368
Tritanopia (blue-blind)
#932042
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #8a1f6a; /* rgb */ color: rgb(138, 31, 106); /* oklch */ color: oklch(44.2% 0.161 342.9);
Tailwind
colors: {
custom: {
50: '#b06794',
500: '#8a1f6a',
950: '#000000',
},
}SCSS
$custom: #8a1f6a; $custom-light: #b06794; $custom-dark: #000000;
JSON
{
"hex": "#8a1f6a",
"rgb": {
"r": 138,
"g": 31,
"b": 106
},
"hsl": {
"h": 317.944,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.44172,
"c": 0.16137,
"h": 342.9
},
"luminance": 0.07424
}Semantic roles & 50–950 ramp
primary
#8A1F6A
secondary
#4BBA6C
accent
#E67341
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E