#8A6173#8A6173

#8A6173 is a mid, muted pink. Relative luminance 0.152; OKLCH L 54.1% C 0.059 H 351.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8A6173
RGBrgb(138, 97, 115)
HSLhsl(334, 17%, 46%)
HSVhsv(334, 30%, 54%)
CMYKcmyk(0%, 29.7%, 16.7%, 45.9%)
CIE-LABlab(45.90, 19.55, -3.47)
CIE-LCHlch(45.90, 19.85, 349.93°)
OKLaboklab(54.11% 0.058 -0.0089)
OKLCHoklch(54.11% 0.059 351.2)
XYZxyz(17.8505, 15.1913, 18.2083)
Luminance0.1519 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6173 #618A78
analogous
#8A6187 #8A6173 #8A6361
triadic
#8A6173 #738A61 #61738A
tetradic
#8A6173 #878A61 #618A78 #63618A
square
#8A6173 #878A61 #618A78 #63618A
split-complementary
#8A6173 #618A63 #61878A
monochromatic
#422E37 #664855 #8A6173 #A78192 #C0A5B1

Accessibility & contrast

On white

5.20
#8A6173 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#8A6173 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A6173
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6173#FFFFFF#000000##FFFFFF
##8A61731.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656974
Deuteranopia (green-blind)
#6E6F72
Tritanopia (blue-blind)
#906067
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8a6173;
/* rgb */ color: rgb(138, 97, 115);
/* oklch */ color: oklch(54.1% 0.059 351.2);
Tailwind
colors: {
  custom: {
    50: '#ad8e9b',
    500: '#8a6173',
    950: '#000000',
  },
}
SCSS
$custom: #8a6173;
$custom-light: #ad8e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6173",
  "rgb": {
    "r": 138,
    "g": 97,
    "b": 115
  },
  "hsl": {
    "h": 333.659,
    "s": 17.447,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54114,
    "c": 0.0587,
    "h": 351.2
  },
  "luminance": 0.1519
}

Semantic roles & 50–950 ramp

primary
#8A6173
secondary
#98AFA5
accent
#BA996E
background
#FAF8F9
surface
#F4F0F2
border
#CECBCC
text
#100C0E
muted
#7F7D7E

Preview Lab

Preview with #8A6173

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

Preview Lab → · Contrast checker → · Palette generator →

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