#8A7C7C#8A7C7C

#8A7C7C is a mid, near-neutral grey. Relative luminance 0.213; OKLCH L 59.9% C 0.017 H 17.6°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8A7C7C
RGBrgb(138, 124, 124)
HSLhsl(0, 6%, 51%)
HSVhsv(0, 10%, 54%)
CMYKcmyk(0%, 10.1%, 10.1%, 45.9%)
CIE-LABlab(53.25, 5.35, 1.95)
CIE-LCHlch(53.25, 5.69, 20.03°)
OKLaboklab(59.9% 0.0164 0.0052)
OKLCHoklch(59.9% 0.017 17.6)
XYZxyz(21.3267, 21.2742, 22.0477)
Luminance0.2127 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7C7C #7C8A8A
analogous
#8A7C83 #8A7C7C #8A837C
triadic
#8A7C7C #7C8A7C #7C7C8A
tetradic
#8A7C7C #838A7C #7C8A8A #837C8A
square
#8A7C7C #838A7C #7C8A8A #837C8A
split-complementary
#8A7C7C #7C8A83 #7C838A
monochromatic
#4A4242 #6A5F5F #8A7C7C #A79C9C #C4BDBD

Accessibility & contrast

On white

4.00
#8A7C7C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#8A7C7C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7C7C
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7C7C#FFFFFF#000000##000000
##8A7C7C1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E7E7C
Deuteranopia (green-blind)
#81807C
Tritanopia (blue-blind)
#8D7B7C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a7c7c;
/* rgb */ color: rgb(138, 124, 124);
/* oklch */ color: oklch(59.9% 0.017 17.6);
Tailwind
colors: {
  custom: {
    50: '#aca1a1',
    500: '#8a7c7c',
    950: '#000000',
  },
}
SCSS
$custom: #8a7c7c;
$custom-light: #aca1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7c7c",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 124
  },
  "hsl": {
    "h": 0,
    "s": 5.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.599,
    "c": 0.01722,
    "h": 17.6
  },
  "luminance": 0.21274
}

Semantic roles & 50–950 ramp

primary
#8A7C7C
secondary
#AEB4B4
accent
#AFAF79
background
#FAF9F9
surface
#F4F2F2
border
#CECCCC
text
#100F0F
muted
#7F7E7E

Preview Lab

Preview with #8A7C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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