#8A316D#8A316D
#8A316D is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.2% C 0.140 H 342.7°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #8A316D |
|---|---|
| RGB | rgb(138, 49, 109) |
| HSL | hsl(320, 48%, 37%) |
| HSV | hsv(320, 64%, 54%) |
| CMYK | cmyk(0%, 64.5%, 21%, 45.9%) |
| CIE-LAB | lab(35.41, 44.58, -15.54) |
| CIE-LCH | lch(35.41, 47.21, 340.78°) |
| OKLab | oklab(46.15% 0.1334 -0.0415) |
| OKLCH | oklch(46.15% 0.14 342.7) |
| XYZ | xyz(14.3403, 8.7053, 15.3901) |
| Luminance | 0.0870 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 4.31
Red Violet
#9E0168
ΔE00 5.49
Grape
#6C3461
ΔE00 6.32
Light Eggplant
#894585
ΔE00 6.39
Warm Purple
#952E8F
ΔE00 7.20
Deep Magenta
#A0025C
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A316D #318A4E
analogous
#7B318A #8A316D #8A3140
triadic
#8A316D #6D8A31 #316D8A
tetradic
#8A316D #8A7B31 #318A4E #31408A
square
#8A316D #8A7B31 #318A4E #31408A
split-complementary
#8A316D #408A31 #318A7B
monochromatic
#301126 #5D2149 #8A316D #B74191 #CA6BAB
Accessibility & contrast
On white
7.66
#8A316D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#8A316D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A316D
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A316D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A316D | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#384A6F
Deuteranopia (green-blind)
#52596B
Tritanopia (blue-blind)
#92314A
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #8a316d; /* rgb */ color: rgb(138, 49, 109); /* oklch */ color: oklch(46.2% 0.140 342.7);
Tailwind
colors: {
custom: {
50: '#af6f97',
500: '#8a316d',
950: '#000000',
},
}SCSS
$custom: #8a316d; $custom-light: #af6f97; $custom-dark: #000000;
JSON
{
"hex": "#8a316d",
"rgb": {
"r": 138,
"g": 49,
"b": 109
},
"hsl": {
"h": 319.551,
"s": 47.594,
"l": 36.667
},
"oklch": {
"l": 0.46153,
"c": 0.13967,
"h": 342.7
},
"luminance": 0.08704
}Semantic roles & 50–950 ramp
primary
#8A316D
secondary
#65B27E
accent
#D77C51
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080D
muted
#807B7E