#8A7C8F#8A7C8F

#8A7C8F is a mid, muted grey. Relative luminance 0.218; OKLCH L 60.5% C 0.033 H 317.2°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8A7C8F
RGBrgb(138, 124, 143)
HSLhsl(284, 8%, 52%)
HSVhsv(284, 13%, 56%)
CMYKcmyk(3.5%, 13.3%, 0%, 43.9%)
CIE-LABlab(53.82, 9.04, -8.30)
CIE-LCHlch(53.82, 12.27, 317.44°)
OKLaboklab(60.53% 0.024 -0.0222)
OKLCHoklch(60.53% 0.033 317.2)
XYZxyz(22.6460, 21.8019, 28.9965)
Luminance0.2180 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7C8F #818F7C
analogous
#817C8F #8A7C8F #8F7C8B
triadic
#8A7C8F #8F8A7C #7C8F8A
tetradic
#8A7C8F #8F817C #818F7C #7C8B8F
square
#8A7C8F #8F817C #818F7C #7C8B8F
split-complementary
#8A7C8F #8B8F7C #7C8F81
monochromatic
#4B434E #6B5F6F #8A7C8F #A79DAB #C5BEC7

Accessibility & contrast

On white

3.92
#8A7C8F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#8A7C8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7C8F
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7C8F#FFFFFF#000000##000000
##8A7C8F1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8090
Deuteranopia (green-blind)
#7D818E
Tritanopia (blue-blind)
#8A7E82
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a7c8f;
/* rgb */ color: rgb(138, 124, 143);
/* oklch */ color: oklch(60.5% 0.033 317.2);
Tailwind
colors: {
  custom: {
    50: '#aca2af',
    500: '#8a7c8f',
    950: '#000000',
  },
}
SCSS
$custom: #8a7c8f;
$custom-light: #aca2af;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7c8f",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 143
  },
  "hsl": {
    "h": 284.211,
    "s": 7.819,
    "l": 52.353
  },
  "oklch": {
    "l": 0.6053,
    "c": 0.03271,
    "h": 317.2
  },
  "luminance": 0.21802
}

Semantic roles & 50–950 ramp

primary
#8A7C8F
secondary
#B1B8AF
accent
#B17786
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100F10
muted
#7F7E7F

Preview Lab

Preview with #8A7C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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