#8A3770#8A3770

#8A3770 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.0% C 0.132 H 341.6°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#8A3770
RGBrgb(138, 55, 112)
HSLhsl(319, 43%, 38%)
HSVhsv(319, 60%, 54%)
CMYKcmyk(0%, 60.1%, 18.8%, 45.9%)
CIE-LABlab(36.57, 42.24, -15.66)
CIE-LCHlch(36.57, 45.05, 339.66°)
OKLaboklab(47.05% 0.1256 -0.0419)
OKLCHoklch(47.05% 0.132 341.6)
XYZxyz(14.7724, 9.3068, 16.3445)
Luminance0.0931 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3770 #378A51
analogous
#7A378A #8A3770 #8A3747
triadic
#8A3770 #708A37 #37708A
tetradic
#8A3770 #8A7A37 #378A51 #37478A
square
#8A3770 #8A7A37 #378A51 #37478A
split-complementary
#8A3770 #478A37 #378A7A
monochromatic
#321429 #5E264C #8A3770 #B64894 #C874AD

Accessibility & contrast

On white

7.34
#8A3770 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8A3770 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3770
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3770#FFFFFF#000000##FFFFFF
##8A37701.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4E72
Deuteranopia (green-blind)
#545B6E
Tritanopia (blue-blind)
#92384E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a3770;
/* rgb */ color: rgb(138, 55, 112);
/* oklch */ color: oklch(47.0% 0.132 341.6);
Tailwind
colors: {
  custom: {
    50: '#af7299',
    500: '#8a3770',
    950: '#000000',
  },
}
SCSS
$custom: #8a3770;
$custom-light: #af7299;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3770",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 112
  },
  "hsl": {
    "h": 318.795,
    "s": 43.005,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47047,
    "c": 0.1324,
    "h": 341.6
  },
  "luminance": 0.09306
}

Semantic roles & 50–950 ramp

primary
#8A3770
secondary
#6DB082
accent
#D37C55
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3770

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

Preview Lab → · Contrast checker → · Palette generator →

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