#8A877D#8A877D

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

Color values

HEX#8A877D
RGBrgb(138, 135, 125)
HSLhsl(46, 5%, 52%)
HSVhsv(46, 9%, 54%)
CMYKcmyk(0%, 2.2%, 9.4%, 45.9%)
CIE-LABlab(56.30, -0.75, 5.77)
CIE-LCHlch(56.30, 5.82, 97.44°)
OKLaboklab(62.3% -0.0008 0.0151)
OKLCHoklch(62.3% 0.015 93.1)
XYZxyz(22.8464, 24.2121, 22.8679)
Luminance0.2421 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A877D #7D808A
analogous
#8A817D #8A877D #878A7D
triadic
#8A877D #7D8A87 #877D8A
tetradic
#8A877D #7D8A81 #7D808A #8A7D87
square
#8A877D #7D8A81 #7D808A #8A7D87
split-complementary
#8A877D #7D878A #817D8A
monochromatic
#4A4843 #6A6860 #8A877D #A7A59D #C4C2BD

Accessibility & contrast

On white

3.59
#8A877D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A877D#FFFFFF#000000##000000
##8A877D1.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#89867C
Deuteranopia (green-blind)
#8A877D
Tritanopia (blue-blind)
#8C8584
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a877d;
/* rgb */ color: rgb(138, 135, 125);
/* oklch */ color: oklch(62.3% 0.015 93.1);
Tailwind
colors: {
  custom: {
    50: '#aca9a2',
    500: '#8a877d',
    950: '#000000',
  },
}
SCSS
$custom: #8a877d;
$custom-light: #aca9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a877d",
  "rgb": {
    "r": 138,
    "g": 135,
    "b": 125
  },
  "hsl": {
    "h": 46.154,
    "s": 5.263,
    "l": 51.569
  },
  "oklch": {
    "l": 0.62302,
    "c": 0.01512,
    "h": 93.1
  },
  "luminance": 0.24212
}

Semantic roles & 50–950 ramp

primary
#8A877D
secondary
#AFB0B4
accent
#86AE79
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#10100F
muted
#7F7F7E

Preview Lab

Preview with #8A877D

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

Preview Lab → · Contrast checker → · Palette generator →

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