#8A877B#8A877B

#8A877B is a light, near-neutral grey. Relative luminance 0.242; OKLCH L 62.2% C 0.018 H 95.3°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#8A877B
RGBrgb(138, 135, 123)
HSLhsl(48, 6%, 51%)
HSVhsv(48, 11%, 54%)
CMYKcmyk(0%, 2.2%, 10.9%, 45.9%)
CIE-LABlab(56.25, -1.11, 6.85)
CIE-LCHlch(56.25, 6.94, 99.21°)
OKLaboklab(62.25% -0.0017 0.0179)
OKLCHoklch(62.25% 0.018 95.3)
XYZxyz(22.7200, 24.1615, 22.2018)
Luminance0.2416 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A877B #7B7E8A
analogous
#8A7F7B #8A877B #858A7B
triadic
#8A877B #7B8A87 #877B8A
tetradic
#8A877B #7B8A7F #7B7E8A #8A7B85
square
#8A877B #7B8A7F #7B7E8A #8A7B85
split-complementary
#8A877B #7B858A #7F7B8A
monochromatic
#494841 #6A685E #8A877B #A7A49B #C4C2BC

Accessibility & contrast

On white

3.60
#8A877B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#8A877B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A877B
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A877B#FFFFFF#000000##000000
##8A877B1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A867A
Deuteranopia (green-blind)
#8B877B
Tritanopia (blue-blind)
#8D8584
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a877b;
/* rgb */ color: rgb(138, 135, 123);
/* oklch */ color: oklch(62.2% 0.018 95.3);
Tailwind
colors: {
  custom: {
    50: '#aca9a1',
    500: '#8a877b',
    950: '#000000',
  },
}
SCSS
$custom: #8a877b;
$custom-light: #aca9a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a877b",
  "rgb": {
    "r": 138,
    "g": 135,
    "b": 123
  },
  "hsl": {
    "h": 48,
    "s": 6.024,
    "l": 51.176
  },
  "oklch": {
    "l": 0.62245,
    "c": 0.01796,
    "h": 95.3
  },
  "luminance": 0.24161
}

Semantic roles & 50–950 ramp

primary
#8A877B
secondary
#ADAEB4
accent
#84AF79
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#10100E
muted
#7F7F7E

Preview Lab

Preview with #8A877B

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

Preview Lab → · Contrast checker → · Palette generator →

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