#8A778A#8A778A

#8A778A is a mid, muted grey. Relative luminance 0.204; OKLCH L 59.3% C 0.036 H 326.0°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8A778A
RGBrgb(138, 119, 138)
HSLhsl(300, 8%, 50%)
HSVhsv(300, 14%, 54%)
CMYKcmyk(0%, 13.8%, 0%, 45.9%)
CIE-LABlab(52.32, 10.94, -7.61)
CIE-LCHlch(52.32, 13.32, 325.17°)
OKLaboklab(59.32% 0.0301 -0.0203)
OKLCHoklch(59.32% 0.036 326)
XYZxyz(21.6649, 20.4322, 26.8423)
Luminance0.2043 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A778A #778A77
analogous
#80778A #8A778A #8A7780
triadic
#8A778A #8A8A77 #778A8A
tetradic
#8A778A #8A8077 #778A77 #77808A
square
#8A778A #8A8077 #778A77 #77808A
split-complementary
#8A778A #808A77 #778A80
monochromatic
#483E48 #695B69 #8A778A #A698A6 #C3B9C3

Accessibility & contrast

On white

4.13
#8A778A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#8A778A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A778A
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A778A#FFFFFF#000000##000000
##8A778A1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#767B8B
Deuteranopia (green-blind)
#7A7E89
Tritanopia (blue-blind)
#8B787D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a778a;
/* rgb */ color: rgb(138, 119, 138);
/* oklch */ color: oklch(59.3% 0.036 326.0);
Tailwind
colors: {
  custom: {
    50: '#ac9eac',
    500: '#8a778a',
    950: '#000000',
  },
}
SCSS
$custom: #8a778a;
$custom-light: #ac9eac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a778a",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 138
  },
  "hsl": {
    "h": 300,
    "s": 7.51,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59317,
    "c": 0.03631,
    "h": 326
  },
  "luminance": 0.20432
}

Semantic roles & 50–950 ramp

primary
#8A778A
secondary
#AAB3AA
accent
#B17777
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100E10
muted
#7F7E7F

Preview Lab

Preview with #8A778A

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

Preview Lab → · Contrast checker → · Palette generator →

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