#8A336E#8A336E
#8A336E is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.4% C 0.137 H 342.3°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #8A336E |
|---|---|
| RGB | rgb(138, 51, 110) |
| HSL | hsl(319, 46%, 37%) |
| HSV | hsv(319, 63%, 54%) |
| CMYK | cmyk(0%, 63%, 20.3%, 45.9%) |
| CIE-LAB | lab(35.79, 43.82, -15.60) |
| CIE-LCH | lch(35.79, 46.51, 340.41°) |
| OKLab | oklab(46.44% 0.1308 -0.0417) |
| OKLCH | oklch(46.44% 0.137 342.3) |
| XYZ | xyz(14.4799, 8.8980, 15.7037) |
| Luminance | 0.0890 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 3.99
Red Violet
#9E0168
ΔE00 5.80
Light Eggplant
#894585
ΔE00 6.05
Grape
#6C3461
ΔE00 6.31
Warm Purple
#952E8F
ΔE00 7.12
Deep Magenta
#A0025C
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A336E #338A4F
analogous
#7B338A #8A336E #8A3343
triadic
#8A336E #6E8A33 #336E8A
tetradic
#8A336E #8A7B33 #338A4F #33438A
square
#8A336E #8A7B33 #338A4F #33438A
split-complementary
#8A336E #438A33 #338A7B
monochromatic
#311227 #5D224A #8A336E #B74492 #C96EAC
Accessibility & contrast
On white
7.56
#8A336E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#8A336E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A336E
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A336E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A336E | 1.00 | 7.56 | 2.78 | 7.56 |
| #FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#394B70
Deuteranopia (green-blind)
#53596C
Tritanopia (blue-blind)
#92344C
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #8a336e; /* rgb */ color: rgb(138, 51, 110); /* oklch */ color: oklch(46.4% 0.137 342.3);
Tailwind
colors: {
custom: {
50: '#af7097',
500: '#8a336e',
950: '#000000',
},
}SCSS
$custom: #8a336e; $custom-light: #af7097; $custom-dark: #000000;
JSON
{
"hex": "#8a336e",
"rgb": {
"r": 138,
"g": 51,
"b": 110
},
"hsl": {
"h": 319.31,
"s": 46.032,
"l": 37.059
},
"oklch": {
"l": 0.46443,
"c": 0.13731,
"h": 342.3
},
"luminance": 0.08897
}Semantic roles & 50–950 ramp
primary
#8A336E
secondary
#67B17F
accent
#D67C52
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080D
muted
#807B7E