#8A5A82#8A5A82

#8A5A82 is a mid, moderate pink. Relative luminance 0.143; OKLCH L 53.4% C 0.084 H 332.8°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#8A5A82
RGBrgb(138, 90, 130)
HSLhsl(310, 21%, 45%)
HSVhsv(310, 35%, 54%)
CMYKcmyk(0%, 34.8%, 5.8%, 45.9%)
CIE-LABlab(44.70, 26.38, -14.32)
CIE-LCHlch(44.70, 30.02, 331.50°)
OKLaboklab(53.37% 0.075 -0.0385)
OKLCHoklch(53.37% 0.084 332.8)
XYZxyz(18.1665, 14.3281, 22.9235)
Luminance0.1433 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5A82 #5A8A62
analogous
#7A5A8A #8A5A82 #8A5A6A
triadic
#8A5A82 #828A5A #5A828A
tetradic
#8A5A82 #8A7A5A #5A8A62 #5A6A8A
square
#8A5A82 #8A7A5A #5A8A62 #5A6A8A
split-complementary
#8A5A82 #6A8A5A #5A8A7A
monochromatic
#402A3C #65425F #8A5A82 #A879A0 #C09EBA

Accessibility & contrast

On white

5.43
#8A5A82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#8A5A82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5A82
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5A82#FFFFFF#000000##FFFFFF
##8A5A821.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596684
Deuteranopia (green-blind)
#656C80
Tritanopia (blue-blind)
#8E5C68
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8a5a82;
/* rgb */ color: rgb(138, 90, 130);
/* oklch */ color: oklch(53.4% 0.084 332.8);
Tailwind
colors: {
  custom: {
    50: '#ad89a6',
    500: '#8a5a82',
    950: '#000000',
  },
}
SCSS
$custom: #8a5a82;
$custom-light: #ad89a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5a82",
  "rgb": {
    "r": 138,
    "g": 90,
    "b": 130
  },
  "hsl": {
    "h": 310,
    "s": 21.053,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53373,
    "c": 0.08433,
    "h": 332.8
  },
  "luminance": 0.14327
}

Semantic roles & 50–950 ramp

primary
#8A5A82
secondary
#92AE97
accent
#BE786A
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#100B0F
muted
#7F7C7F

Preview Lab

Preview with #8A5A82

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

Preview Lab → · Contrast checker → · Palette generator →

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