#8A6781#8A6781

#8A6781 is a mid, muted pink. Relative luminance 0.167; OKLCH L 55.8% C 0.058 H 335.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8A6781
RGBrgb(138, 103, 129)
HSLhsl(315, 15%, 47%)
HSVhsv(315, 25%, 54%)
CMYKcmyk(0%, 25.4%, 6.5%, 45.9%)
CIE-LABlab(47.87, 18.57, -8.94)
CIE-LCHlch(47.87, 20.61, 334.28°)
OKLaboklab(55.78% 0.0531 -0.0238)
OKLCHoklch(55.78% 0.058 335.8)
XYZxyz(19.2937, 16.6894, 22.9697)
Luminance0.1669 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6781 #678A70
analogous
#82678A #8A6781 #8A676F
triadic
#8A6781 #818A67 #67818A
tetradic
#8A6781 #8A8267 #678A70 #676F8A
square
#8A6781 #8A8267 #678A70 #676F8A
split-complementary
#8A6781 #6F8A67 #678A82
monochromatic
#44333F #674D60 #8A6781 #A6889E #C0ABBB

Accessibility & contrast

On white

4.84
#8A6781 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#8A6781 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A6781
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6781#FFFFFF#000000##FFFFFF
##8A67811.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#676F82
Deuteranopia (green-blind)
#6F7380
Tritanopia (blue-blind)
#8E6870
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8a6781;
/* rgb */ color: rgb(138, 103, 129);
/* oklch */ color: oklch(55.8% 0.058 335.8);
Tailwind
colors: {
  custom: {
    50: '#ac92a5',
    500: '#8a6781',
    950: '#000000',
  },
}
SCSS
$custom: #8a6781;
$custom-light: #ac92a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6781",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 129
  },
  "hsl": {
    "h": 315.429,
    "s": 14.523,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55778,
    "c": 0.05816,
    "h": 335.8
  },
  "luminance": 0.16689
}

Semantic roles & 50–950 ramp

primary
#8A6781
secondary
#9DAFA2
accent
#B78370
background
#FAF9FA
surface
#F4F1F4
border
#CECBCE
text
#100D0F
muted
#7F7E7F

Preview Lab

Preview with #8A6781

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

Preview Lab → · Contrast checker → · Palette generator →

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