#8A788A#8A788A

#8A788A is a mid, muted grey. Relative luminance 0.207; OKLCH L 59.5% C 0.034 H 326.0°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8A788A
RGBrgb(138, 120, 138)
HSLhsl(300, 7%, 51%)
HSVhsv(300, 13%, 54%)
CMYKcmyk(0%, 13%, 0%, 45.9%)
CIE-LABlab(52.59, 10.35, -7.21)
CIE-LCHlch(52.59, 12.62, 325.13°)
OKLaboklab(59.52% 0.0285 -0.0192)
OKLCHoklch(59.52% 0.034 326)
XYZxyz(21.7845, 20.6715, 26.8822)
Luminance0.2067 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A788A #788A78
analogous
#81788A #8A788A #8A7881
triadic
#8A788A #8A8A78 #788A8A
tetradic
#8A788A #8A8178 #788A78 #78818A
square
#8A788A #8A8178 #788A78 #78818A
split-complementary
#8A788A #818A78 #788A81
monochromatic
#493F49 #695B69 #8A788A #A699A6 #C3BAC3

Accessibility & contrast

On white

4.09
#8A788A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#8A788A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A788A
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A788A#FFFFFF#000000##000000
##8A788A1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#777C8B
Deuteranopia (green-blind)
#7B7E89
Tritanopia (blue-blind)
#8B797E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a788a;
/* rgb */ color: rgb(138, 120, 138);
/* oklch */ color: oklch(59.5% 0.034 326.0);
Tailwind
colors: {
  custom: {
    50: '#ac9fac',
    500: '#8a788a',
    950: '#000000',
  },
}
SCSS
$custom: #8a788a;
$custom-light: #ac9fac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a788a",
  "rgb": {
    "r": 138,
    "g": 120,
    "b": 138
  },
  "hsl": {
    "h": 300,
    "s": 7.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59523,
    "c": 0.03438,
    "h": 326
  },
  "luminance": 0.20671
}

Semantic roles & 50–950 ramp

primary
#8A788A
secondary
#ABB3AB
accent
#B07878
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100E10
muted
#7F7E7F

Preview Lab

Preview with #8A788A

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

Preview Lab → · Contrast checker → · Palette generator →

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