#8A767F#8A767F

#8A767F is a mid, muted grey. Relative luminance 0.199; OKLCH L 58.7% C 0.028 H 349.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8A767F
RGBrgb(138, 118, 127)
HSLhsl(333, 8%, 50%)
HSVhsv(333, 14%, 54%)
CMYKcmyk(0%, 14.5%, 8%, 45.9%)
CIE-LABlab(51.72, 9.38, -2.05)
CIE-LCHlch(51.72, 9.60, 347.69°)
OKLaboklab(58.73% 0.0275 -0.0053)
OKLCHoklch(58.73% 0.028 349.1)
XYZxyz(20.7901, 19.8929, 22.8191)
Luminance0.1989 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A767F #768A81
analogous
#8A7689 #8A767F #8A7776
triadic
#8A767F #7F8A76 #767F8A
tetradic
#8A767F #898A76 #768A81 #77768A
square
#8A767F #898A76 #768A81 #77768A
split-complementary
#8A767F #768A77 #76898A
monochromatic
#483E42 #695A61 #8A767F #A6979E #C2B8BD

Accessibility & contrast

On white

4.22
#8A767F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#8A767F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A767F
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A767F#FFFFFF#000000##000000
##8A767F1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#77797F
Deuteranopia (green-blind)
#7C7C7E
Tritanopia (blue-blind)
#8D7679
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a767f;
/* rgb */ color: rgb(138, 118, 127);
/* oklch */ color: oklch(58.7% 0.028 349.1);
Tailwind
colors: {
  custom: {
    50: '#ac9da4',
    500: '#8a767f',
    950: '#000000',
  },
}
SCSS
$custom: #8a767f;
$custom-light: #ac9da4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a767f",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 127
  },
  "hsl": {
    "h": 333,
    "s": 7.874,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58733,
    "c": 0.02796,
    "h": 349.1
  },
  "luminance": 0.19892
}

Semantic roles & 50–950 ramp

primary
#8A767F
secondary
#A9B2AE
accent
#B19777
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100E0F
muted
#7F7E7F

Preview Lab

Preview with #8A767F

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

Preview Lab → · Contrast checker → · Palette generator →

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