#8A867F#8A867F

#8A867F is a light, near-neutral grey. Relative luminance 0.240; OKLCH L 62.1% C 0.011 H 81.8°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8A867F
RGBrgb(138, 134, 127)
HSLhsl(38, 4%, 52%)
HSVhsv(38, 8%, 54%)
CMYKcmyk(0%, 2.9%, 8%, 45.9%)
CIE-LABlab(56.07, 0.18, 4.29)
CIE-LCHlch(56.07, 4.30, 87.66°)
OKLaboklab(62.14% 0.0016 0.0113)
OKLCHoklch(62.14% 0.011 81.8)
XYZxyz(22.8366, 23.9860, 23.5013)
Luminance0.2399 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A867F #7F838A
analogous
#8A817F #8A867F #898A7F
triadic
#8A867F #7F8A86 #867F8A
tetradic
#8A867F #7F8A81 #7F838A #8A7F89
square
#8A867F #7F8A81 #7F838A #8A7F89
split-complementary
#8A867F #7F898A #817F8A
monochromatic
#4B4844 #6A6761 #8A867F #A7A49F #C4C2BF

Accessibility & contrast

On white

3.62
#8A867F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#8A867F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A867F
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A867F#FFFFFF#000000##000000
##8A867F1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#88867F
Deuteranopia (green-blind)
#89877F
Tritanopia (blue-blind)
#8C8584
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a867f;
/* rgb */ color: rgb(138, 134, 127);
/* oklch */ color: oklch(62.1% 0.011 81.8);
Tailwind
colors: {
  custom: {
    50: '#aca9a4',
    500: '#8a867f',
    950: '#000000',
  },
}
SCSS
$custom: #8a867f;
$custom-light: #aca9a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a867f",
  "rgb": {
    "r": 138,
    "g": 134,
    "b": 127
  },
  "hsl": {
    "h": 38.182,
    "s": 4.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.62141,
    "c": 0.01141,
    "h": 81.8
  },
  "luminance": 0.23986
}

Semantic roles & 50–950 ramp

primary
#8A867F
secondary
#B0B2B5
accent
#8DAE7A
background
#FAFAFA
surface
#F4F4F4
border
#CECECE
text
#100F0F
muted
#7F7F7F

Preview Lab

Preview with #8A867F

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

Preview Lab → · Contrast checker → · Palette generator →

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