#8A8178#8A8178

#8A8178 is a mid, near-neutral grey. Relative luminance 0.225; OKLCH L 60.9% C 0.017 H 67.5°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8A8178
RGBrgb(138, 129, 120)
HSLhsl(30, 7%, 51%)
HSVhsv(30, 13%, 54%)
CMYKcmyk(0%, 6.5%, 13%, 45.9%)
CIE-LABlab(54.51, 1.76, 6.10)
CIE-LCHlch(54.51, 6.35, 73.88°)
OKLaboklab(60.86% 0.0066 0.016)
OKLCHoklch(60.86% 0.017 67.5)
XYZxyz(21.7214, 22.4602, 20.9566)
Luminance0.2246 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8178 #78818A
analogous
#8A7878 #8A8178 #8A8A78
triadic
#8A8178 #788A81 #81788A
tetradic
#8A8178 #788A78 #78818A #8A788A
square
#8A8178 #788A78 #78818A #8A788A
split-complementary
#8A8178 #788A8A #78788A
monochromatic
#49443F #69625B #8A8178 #A6A099 #C3BEBA

Accessibility & contrast

On white

3.82
#8A8178 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#8A8178 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8178
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8178#FFFFFF#000000##000000
##8A81781.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#848177
Deuteranopia (green-blind)
#868378
Tritanopia (blue-blind)
#8E7F7E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a8178;
/* rgb */ color: rgb(138, 129, 120);
/* oklch */ color: oklch(60.9% 0.017 67.5);
Tailwind
colors: {
  custom: {
    50: '#aca59f',
    500: '#8a8178',
    950: '#000000',
  },
}
SCSS
$custom: #8a8178;
$custom-light: #aca59f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8178",
  "rgb": {
    "r": 138,
    "g": 129,
    "b": 120
  },
  "hsl": {
    "h": 30,
    "s": 7.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.60855,
    "c": 0.01727,
    "h": 67.5
  },
  "luminance": 0.2246
}

Semantic roles & 50–950 ramp

primary
#8A8178
secondary
#ABAFB3
accent
#94B078
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#100F0E
muted
#7F7F7E

Preview Lab

Preview with #8A8178

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

Preview Lab → · Contrast checker → · Palette generator →

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