#8A7A78#8A7A78

#8A7A78 is a mid, muted grey. Relative luminance 0.207; OKLCH L 59.4% C 0.020 H 26.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8A7A78
RGBrgb(138, 122, 120)
HSLhsl(7, 7%, 51%)
HSVhsv(7, 13%, 54%)
CMYKcmyk(0%, 11.6%, 13%, 45.9%)
CIE-LABlab(52.60, 5.78, 3.34)
CIE-LCHlch(52.60, 6.68, 30.03°)
OKLaboklab(59.35% 0.018 0.0089)
OKLCHoklch(59.35% 0.02 26.2)
XYZxyz(20.8307, 20.6789, 20.6597)
Luminance0.2068 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7A78 #78888A
analogous
#8A787F #8A7A78 #8A8378
triadic
#8A7A78 #788A7A #7A788A
tetradic
#8A7A78 #7F8A78 #78888A #83788A
square
#8A7A78 #7F8A78 #78888A #83788A
split-complementary
#8A7A78 #788A83 #787F8A
monochromatic
#49403F #695D5B #8A7A78 #A69A99 #C3BBBA

Accessibility & contrast

On white

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

On black

5.14
#8A7A78 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7A78
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7A78#FFFFFF#000000##000000
##8A7A781.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D7C78
Deuteranopia (green-blind)
#817F78
Tritanopia (blue-blind)
#8E7879
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a7a78;
/* rgb */ color: rgb(138, 122, 120);
/* oklch */ color: oklch(59.4% 0.020 26.2);
Tailwind
colors: {
  custom: {
    50: '#aca09f',
    500: '#8a7a78',
    950: '#000000',
  },
}
SCSS
$custom: #8a7a78;
$custom-light: #aca09f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7a78",
  "rgb": {
    "r": 138,
    "g": 122,
    "b": 120
  },
  "hsl": {
    "h": 6.667,
    "s": 7.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59354,
    "c": 0.02007,
    "h": 26.2
  },
  "luminance": 0.20678
}

Semantic roles & 50–950 ramp

primary
#8A7A78
secondary
#ABB2B3
accent
#AAB078
background
#FAF9F9
surface
#F4F2F2
border
#CECCCC
text
#100E0E
muted
#7F7E7E

Preview Lab

Preview with #8A7A78

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

Preview Lab → · Contrast checker → · Palette generator →

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