#8A6871#8A6871

#8A6871 is a mid, muted pink. Relative luminance 0.165; OKLCH L 55.4% C 0.045 H 1.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8A6871
RGBrgb(138, 104, 113)
HSLhsl(344, 14%, 47%)
HSVhsv(344, 25%, 54%)
CMYKcmyk(0%, 24.6%, 18.1%, 45.9%)
CIE-LABlab(47.62, 15.08, 0.26)
CIE-LCHlch(47.62, 15.09, 1.00°)
OKLaboklab(55.42% 0.0453 0.0009)
OKLCHoklch(55.42% 0.045 1.2)
XYZxyz(18.4123, 16.4969, 17.8339)
Luminance0.1650 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6871 #688A81
analogous
#8A6882 #8A6871 #8A7068
triadic
#8A6871 #718A68 #68718A
tetradic
#8A6871 #828A68 #688A81 #70688A
square
#8A6871 #828A68 #688A81 #70688A
split-complementary
#8A6871 #688A70 #68828A
monochromatic
#443338 #674E54 #8A6871 #A68991 #C0ACB1

Accessibility & contrast

On white

4.88
#8A6871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#8A6871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A6871
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6871#FFFFFF#000000##FFFFFF
##8A68711.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6D71
Deuteranopia (green-blind)
#747370
Tritanopia (blue-blind)
#90666B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8a6871;
/* rgb */ color: rgb(138, 104, 113);
/* oklch */ color: oklch(55.4% 0.045 1.2);
Tailwind
colors: {
  custom: {
    50: '#ac9399',
    500: '#8a6871',
    950: '#000000',
  },
}
SCSS
$custom: #8a6871;
$custom-light: #ac9399;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6871",
  "rgb": {
    "r": 138,
    "g": 104,
    "b": 113
  },
  "hsl": {
    "h": 344.118,
    "s": 14.05,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55423,
    "c": 0.04528,
    "h": 1.2
  },
  "luminance": 0.16496
}

Semantic roles & 50–950 ramp

primary
#8A6871
secondary
#9EB0AB
accent
#B7A471
background
#FAF9F9
surface
#F4F1F2
border
#CECBCC
text
#100D0E
muted
#7F7E7E

Preview Lab

Preview with #8A6871

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

Preview Lab → · Contrast checker → · Palette generator →

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