#8A3167#8A3167

#8A3167 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 45.9% C 0.136 H 346.4°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#8A3167
RGBrgb(138, 49, 103)
HSLhsl(324, 48%, 37%)
HSVhsv(324, 64%, 54%)
CMYKcmyk(0%, 64.5%, 25.4%, 45.9%)
CIE-LABlab(35.16, 43.70, -12.12)
CIE-LCHlch(35.16, 45.35, 344.50°)
OKLaboklab(45.89% 0.1319 -0.032)
OKLCHoklch(45.89% 0.136 346.4)
XYZxyz(14.0282, 8.5805, 13.7467)
Luminance0.0858 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3167 #318A54
analogous
#81318A #8A3167 #8A313A
triadic
#8A3167 #678A31 #31678A
tetradic
#8A3167 #8A8131 #318A54 #313A8A
square
#8A3167 #8A8131 #318A54 #313A8A
split-complementary
#8A3167 #3A8A31 #318A81
monochromatic
#301124 #5D2145 #8A3167 #B74189 #CA6BA5

Accessibility & contrast

On white

7.73
#8A3167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8A3167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3167
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3167#FFFFFF#000000##FFFFFF
##8A31671.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4969
Deuteranopia (green-blind)
#545865
Tritanopia (blue-blind)
#932F47
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a3167;
/* rgb */ color: rgb(138, 49, 103);
/* oklch */ color: oklch(45.9% 0.136 346.4);
Tailwind
colors: {
  custom: {
    50: '#af6f92',
    500: '#8a3167',
    950: '#000000',
  },
}
SCSS
$custom: #8a3167;
$custom-light: #af6f92;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3167",
  "rgb": {
    "r": 138,
    "g": 49,
    "b": 103
  },
  "hsl": {
    "h": 323.596,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4589,
    "c": 0.1357,
    "h": 346.4
  },
  "luminance": 0.08579
}

Semantic roles & 50–950 ramp

primary
#8A3167
secondary
#65B283
accent
#D78651
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11080D
muted
#807B7D

Preview Lab

Preview with #8A3167

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#8A3167 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva