#8A7876#8A7876

#8A7876 is a mid, muted grey. Relative luminance 0.201; OKLCH L 58.9% C 0.023 H 25.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8A7876
RGBrgb(138, 120, 118)
HSLhsl(6, 8%, 50%)
HSVhsv(6, 14%, 54%)
CMYKcmyk(0%, 13%, 14.5%, 45.9%)
CIE-LABlab(52.00, 6.59, 3.65)
CIE-LCHlch(52.00, 7.54, 29.01°)
OKLaboklab(58.87% 0.0205 0.0097)
OKLCHoklch(58.87% 0.023 25.4)
XYZxyz(20.4676, 20.1447, 19.9462)
Luminance0.2014 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7876 #76888A
analogous
#8A767E #8A7876 #8A8276
triadic
#8A7876 #768A78 #78768A
tetradic
#8A7876 #7E8A76 #76888A #82768A
square
#8A7876 #7E8A76 #76888A #82768A
split-complementary
#8A7876 #768A82 #767E8A
monochromatic
#483F3E #695B5A #8A7876 #A69997 #C2B9B8

Accessibility & contrast

On white

4.18
#8A7876 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#8A7876 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7876
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7876#FFFFFF#000000##000000
##8A78761.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B7A76
Deuteranopia (green-blind)
#7F7D76
Tritanopia (blue-blind)
#8E7677
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a7876;
/* rgb */ color: rgb(138, 120, 118);
/* oklch */ color: oklch(58.9% 0.023 25.4);
Tailwind
colors: {
  custom: {
    50: '#ac9f9d',
    500: '#8a7876',
    950: '#000000',
  },
}
SCSS
$custom: #8a7876;
$custom-light: #ac9f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7876",
  "rgb": {
    "r": 138,
    "g": 120,
    "b": 118
  },
  "hsl": {
    "h": 6,
    "s": 7.874,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58871,
    "c": 0.02263,
    "h": 25.4
  },
  "luminance": 0.20144
}

Semantic roles & 50–950 ramp

primary
#8A7876
secondary
#A9B1B2
accent
#ABB177
background
#FAF9F9
surface
#F4F2F2
border
#CECCCC
text
#100E0E
muted
#7F7E7E

Preview Lab

Preview with #8A7876

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

Preview Lab → · Contrast checker → · Palette generator →

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