#8A877C#8A877C

#8A877C is a light, near-neutral grey. Relative luminance 0.242; OKLCH L 62.3% C 0.017 H 94.3°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8A877C
RGBrgb(138, 135, 124)
HSLhsl(47, 6%, 51%)
HSVhsv(47, 10%, 54%)
CMYKcmyk(0%, 2.2%, 10.1%, 45.9%)
CIE-LABlab(56.27, -0.93, 6.31)
CIE-LCHlch(56.27, 6.38, 98.40°)
OKLaboklab(62.27% -0.0012 0.0165)
OKLCHoklch(62.27% 0.017 94.3)
XYZxyz(22.7829, 24.1866, 22.5331)
Luminance0.2419 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A877C #7C7F8A
analogous
#8A807C #8A877C #868A7C
triadic
#8A877C #7C8A87 #877C8A
tetradic
#8A877C #7C8A80 #7C7F8A #8A7C86
square
#8A877C #7C8A80 #7C7F8A #8A7C86
split-complementary
#8A877C #7C868A #807C8A
monochromatic
#4A4842 #6A685F #8A877C #A7A59C #C4C2BD

Accessibility & contrast

On white

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

On black

5.84
#8A877C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A877C
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A877C#FFFFFF#000000##000000
##8A877C1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a877c;
/* rgb */ color: rgb(138, 135, 124);
/* oklch */ color: oklch(62.3% 0.017 94.3);
Tailwind
colors: {
  custom: {
    50: '#aca9a1',
    500: '#8a877c',
    950: '#000000',
  },
}
SCSS
$custom: #8a877c;
$custom-light: #aca9a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a877c",
  "rgb": {
    "r": 138,
    "g": 135,
    "b": 124
  },
  "hsl": {
    "h": 47.143,
    "s": 5.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.62273,
    "c": 0.01654,
    "h": 94.3
  },
  "luminance": 0.24186
}

Semantic roles & 50–950 ramp

primary
#8A877C
secondary
#AEAFB4
accent
#85AF79
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#10100F
muted
#7F7F7E

Preview Lab

Preview with #8A877C

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

Preview Lab → · Contrast checker → · Palette generator →

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