#8A1F6D#8A1F6D
#8A1F6D is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.3% C 0.163 H 341.3°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F6D |
|---|---|
| RGB | rgb(138, 31, 109) |
| HSL | hsl(316, 63%, 33%) |
| HSV | hsv(316, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 21%, 45.9%) |
| CIE-LAB | lab(32.89, 51.61, -19.42) |
| CIE-LCH | lch(32.89, 55.14, 339.38°) |
| OKLab | oklab(44.32% 0.1547 -0.0523) |
| OKLCH | oklch(44.32% 0.163 341.3) |
| XYZ | xyz(13.7320, 7.4888, 15.1873) |
| Luminance | 0.0749 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.56
Darkish Purple
#751973
ΔE00 5.99
Rich Purple
#720058
ΔE00 6.34
Velvet
#750851
ΔE00 6.38
Bruise
#7E4071
ΔE00 6.76
Warm Purple
#952E8F
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F6D #1F8A3C
analogous
#711F8A #8A1F6D #8A1F37
triadic
#8A1F6D #6D8A1F #1F6D8A
tetradic
#8A1F6D #8A711F #1F8A3C #1F378A
square
#8A1F6D #8A711F #1F8A3C #1F378A
split-complementary
#8A1F6D #378A1F #1F8A71
monochromatic
#26091E #581446 #8A1F6D #BC2A94 #D74CB1
Accessibility & contrast
On white
8.41
#8A1F6D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#8A1F6D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F6D
8.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F6D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F6D | 1.00 | 8.41 | 2.50 | 8.41 |
| #FFFFFF | 8.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29426F
Deuteranopia (green-blind)
#4B546B
Tritanopia (blue-blind)
#932144
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #8a1f6d; /* rgb */ color: rgb(138, 31, 109); /* oklch */ color: oklch(44.3% 0.163 341.3);
Tailwind
colors: {
custom: {
50: '#b06797',
500: '#8a1f6d',
950: '#000000',
},
}SCSS
$custom: #8a1f6d; $custom-light: #b06797; $custom-dark: #000000;
JSON
{
"hex": "#8a1f6d",
"rgb": {
"r": 138,
"g": 31,
"b": 109
},
"hsl": {
"h": 316.262,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.44317,
"c": 0.16332,
"h": 341.3
},
"luminance": 0.07487
}Semantic roles & 50–950 ramp
primary
#8A1F6D
secondary
#4BBA69
accent
#E66E41
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E