#8A6178#8A6178

#8A6178 is a mid, moderate pink. Relative luminance 0.153; OKLCH L 54.3% C 0.062 H 344.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8A6178
RGBrgb(138, 97, 120)
HSLhsl(326, 17%, 46%)
HSVhsv(326, 30%, 54%)
CMYKcmyk(0%, 29.7%, 13%, 45.9%)
CIE-LABlab(46.06, 20.43, -6.25)
CIE-LCHlch(46.06, 21.36, 342.99°)
OKLaboklab(54.29% 0.0599 -0.0164)
OKLCHoklch(54.29% 0.062 344.7)
XYZxyz(18.1461, 15.3095, 19.7649)
Luminance0.1531 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6178 #618A73
analogous
#87618A #8A6178 #8A6163
triadic
#8A6178 #788A61 #61788A
tetradic
#8A6178 #8A8761 #618A73 #61638A
square
#8A6178 #8A8761 #618A73 #61638A
split-complementary
#8A6178 #638A61 #618A87
monochromatic
#422E39 #664859 #8A6178 #A78196 #C0A5B4

Accessibility & contrast

On white

5.17
#8A6178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#8A6178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A6178
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6178#FFFFFF#000000##FFFFFF
##8A61781.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#636979
Deuteranopia (green-blind)
#6D6F77
Tritanopia (blue-blind)
#8F6169
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8a6178;
/* rgb */ color: rgb(138, 97, 120);
/* oklch */ color: oklch(54.3% 0.062 344.7);
Tailwind
colors: {
  custom: {
    50: '#ad8e9f',
    500: '#8a6178',
    950: '#000000',
  },
}
SCSS
$custom: #8a6178;
$custom-light: #ad8e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6178",
  "rgb": {
    "r": 138,
    "g": 97,
    "b": 120
  },
  "hsl": {
    "h": 326.341,
    "s": 17.447,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5429,
    "c": 0.0621,
    "h": 344.7
  },
  "luminance": 0.15309
}

Semantic roles & 50–950 ramp

primary
#8A6178
secondary
#98AFA2
accent
#BA8F6E
background
#FAF8F9
surface
#F4F0F2
border
#CECBCC
text
#100C0E
muted
#7F7D7E

Preview Lab

Preview with #8A6178

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

Preview Lab → · Contrast checker → · Palette generator →

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