#8A3376#8A3376

#8A3376 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 46.8% C 0.143 H 337.7°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#8A3376
RGBrgb(138, 51, 118)
HSLhsl(314, 46%, 37%)
HSVhsv(314, 63%, 54%)
CMYKcmyk(0%, 63%, 14.5%, 45.9%)
CIE-LABlab(36.14, 45.08, -20.08)
CIE-LCHlch(36.14, 49.35, 335.99°)
OKLaboklab(46.82% 0.1325 -0.0543)
OKLCHoklch(46.82% 0.143 337.7)
XYZxyz(14.9353, 9.0802, 18.1021)
Luminance0.0908 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3376 #338A47
analogous
#73338A #8A3376 #8A334B
triadic
#8A3376 #768A33 #33768A
tetradic
#8A3376 #8A7333 #338A47 #334B8A
square
#8A3376 #8A7333 #338A47 #334B8A
split-complementary
#8A3376 #4B8A33 #338A73
monochromatic
#31122A #5D2250 #8A3376 #B7449C #C96EB4

Accessibility & contrast

On white

7.46
#8A3376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8A3376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3376
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3376#FFFFFF#000000##FFFFFF
##8A33761.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364C78
Deuteranopia (green-blind)
#505A74
Tritanopia (blue-blind)
#91374F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a3376;
/* rgb */ color: rgb(138, 51, 118);
/* oklch */ color: oklch(46.8% 0.143 337.7);
Tailwind
colors: {
  custom: {
    50: '#af709d',
    500: '#8a3376',
    950: '#000000',
  },
}
SCSS
$custom: #8a3376;
$custom-light: #af709d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3376",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 118
  },
  "hsl": {
    "h": 313.793,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46816,
    "c": 0.14321,
    "h": 337.7
  },
  "luminance": 0.09079
}

Semantic roles & 50–950 ramp

primary
#8A3376
secondary
#67B178
accent
#D67052
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3376

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

Preview Lab → · Contrast checker → · Palette generator →

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