#8A7786#8A7786

#8A7786 is a mid, muted grey. Relative luminance 0.203; OKLCH L 59.2% C 0.032 H 333.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8A7786
RGBrgb(138, 119, 134)
HSLhsl(313, 8%, 50%)
HSVhsv(313, 14%, 54%)
CMYKcmyk(0%, 13.8%, 2.9%, 45.9%)
CIE-LABlab(52.20, 10.14, -5.45)
CIE-LCHlch(52.20, 11.51, 331.74°)
OKLaboklab(59.18% 0.0286 -0.0144)
OKLCHoklch(59.18% 0.032 333.2)
XYZxyz(21.3806, 20.3185, 25.3452)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7786 #778A7B
analogous
#84778A #8A7786 #8A777C
triadic
#8A7786 #868A77 #77868A
tetradic
#8A7786 #8A8477 #778A7B #777C8A
square
#8A7786 #8A8477 #778A7B #777C8A
split-complementary
#8A7786 #7C8A77 #778A84
monochromatic
#483E46 #695B66 #8A7786 #A698A3 #C3B9C1

Accessibility & contrast

On white

4.15
#8A7786 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#8A7786 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7786
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7786#FFFFFF#000000##000000
##8A77861.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#777B87
Deuteranopia (green-blind)
#7B7D85
Tritanopia (blue-blind)
#8C787C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a7786;
/* rgb */ color: rgb(138, 119, 134);
/* oklch */ color: oklch(59.2% 0.032 333.2);
Tailwind
colors: {
  custom: {
    50: '#ac9ea9',
    500: '#8a7786',
    950: '#000000',
  },
}
SCSS
$custom: #8a7786;
$custom-light: #ac9ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7786",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 134
  },
  "hsl": {
    "h": 312.632,
    "s": 7.51,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59176,
    "c": 0.03202,
    "h": 333.2
  },
  "luminance": 0.20318
}

Semantic roles & 50–950 ramp

primary
#8A7786
secondary
#AAB3AC
accent
#B18377
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100E0F
muted
#7F7E7F

Preview Lab

Preview with #8A7786

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

Preview Lab → · Contrast checker → · Palette generator →

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