#8A3772#8A3772

#8A3772 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.1% C 0.134 H 340.3°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#8A3772
RGBrgb(138, 55, 114)
HSLhsl(317, 43%, 38%)
HSVhsv(317, 60%, 54%)
CMYKcmyk(0%, 60.1%, 17.4%, 45.9%)
CIE-LABlab(36.65, 42.56, -16.78)
CIE-LCHlch(36.65, 45.75, 338.48°)
OKLaboklab(47.14% 0.1261 -0.045)
OKLCHoklch(47.14% 0.134 340.3)
XYZxyz(14.8850, 9.3518, 16.9375)
Luminance0.0935 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3772 #378A4F
analogous
#78378A #8A3772 #8A3749
triadic
#8A3772 #728A37 #37728A
tetradic
#8A3772 #8A7837 #378A4F #37498A
square
#8A3772 #8A7837 #378A4F #37498A
split-complementary
#8A3772 #498A37 #378A78
monochromatic
#32142A #5E264E #8A3772 #B64896 #C874AF

Accessibility & contrast

On white

7.32
#8A3772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8A3772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3772
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3772#FFFFFF#000000##FFFFFF
##8A37721.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4E74
Deuteranopia (green-blind)
#545B70
Tritanopia (blue-blind)
#92394F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a3772;
/* rgb */ color: rgb(138, 55, 114);
/* oklch */ color: oklch(47.1% 0.134 340.3);
Tailwind
colors: {
  custom: {
    50: '#af739a',
    500: '#8a3772',
    950: '#000000',
  },
}
SCSS
$custom: #8a3772;
$custom-light: #af739a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3772",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 114
  },
  "hsl": {
    "h": 317.349,
    "s": 43.005,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47137,
    "c": 0.13388,
    "h": 340.3
  },
  "luminance": 0.09351
}

Semantic roles & 50–950 ramp

primary
#8A3772
secondary
#6DB080
accent
#D37955
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3772

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

Preview Lab → · Contrast checker → · Palette generator →

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