#8A5378#8A5378

#8A5378 is a mid, moderate pink. Relative luminance 0.129; OKLCH L 51.7% C 0.089 H 340.2°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8A5378
RGBrgb(138, 83, 120)
HSLhsl(320, 25%, 43%)
HSVhsv(320, 40%, 54%)
CMYKcmyk(0%, 39.9%, 13%, 45.9%)
CIE-LABlab(42.68, 28.57, -11.31)
CIE-LCHlch(42.68, 30.73, 338.41°)
OKLaboklab(51.72% 0.0835 -0.0301)
OKLCHoklch(51.72% 0.089 340.2)
XYZxyz(16.9647, 12.9468, 19.3711)
Luminance0.1295 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5378 #538A65
analogous
#80538A #8A5378 #8A535C
triadic
#8A5378 #788A53 #53788A
tetradic
#8A5378 #8A8053 #538A65 #535C8A
square
#8A5378 #8A8053 #538A65 #535C8A
split-complementary
#8A5378 #5C8A53 #538A80
monochromatic
#3E2536 #643C57 #8A5378 #A97197 #C097B3

Accessibility & contrast

On white

5.85
#8A5378 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#8A5378 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5378
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5378#FFFFFF#000000##FFFFFF
##8A53781.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556079
Deuteranopia (green-blind)
#636876
Tritanopia (blue-blind)
#905460
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a5378;
/* rgb */ color: rgb(138, 83, 120);
/* oklch */ color: oklch(51.7% 0.089 340.2);
Tailwind
colors: {
  custom: {
    50: '#ad849f',
    500: '#8a5378',
    950: '#000000',
  },
}
SCSS
$custom: #8a5378;
$custom-light: #ad849f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5378",
  "rgb": {
    "r": 138,
    "g": 83,
    "b": 120
  },
  "hsl": {
    "h": 319.636,
    "s": 24.887,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51722,
    "c": 0.08875,
    "h": 340.2
  },
  "luminance": 0.12946
}

Semantic roles & 50–950 ramp

primary
#8A5378
secondary
#8BAE96
accent
#C18466
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#100B0E
muted
#7F7C7E

Preview Lab

Preview with #8A5378

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

Preview Lab → · Contrast checker → · Palette generator →

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