#8A7C7E#8A7C7E

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

Color values

HEX#8A7C7E
RGBrgb(138, 124, 126)
HSLhsl(351, 6%, 51%)
HSVhsv(351, 10%, 54%)
CMYKcmyk(0%, 10.1%, 8.7%, 45.9%)
CIE-LABlab(53.30, 5.71, 0.86)
CIE-LCHlch(53.30, 5.78, 8.58°)
OKLaboklab(59.96% 0.0173 0.0024)
OKLCHoklch(59.96% 0.017 7.8)
XYZxyz(21.4544, 21.3253, 22.7206)
Luminance0.2132 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7C7E #7C8A88
analogous
#8A7C85 #8A7C7E #8A817C
triadic
#8A7C7E #7E8A7C #7C7E8A
tetradic
#8A7C7E #858A7C #7C8A88 #817C8A
square
#8A7C7E #858A7C #7C8A88 #817C8A
split-complementary
#8A7C7E #7C8A81 #7C858A
monochromatic
#4A4243 #6A5F60 #8A7C7E #A79C9E #C4BDBE

Accessibility & contrast

On white

3.99
#8A7C7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#8A7C7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7C7E
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7C7E#FFFFFF#000000##000000
##8A7C7E1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E7E7E
Deuteranopia (green-blind)
#81807E
Tritanopia (blue-blind)
#8D7B7D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a7c7e;
/* rgb */ color: rgb(138, 124, 126);
/* oklch */ color: oklch(60.0% 0.017 7.8);
Tailwind
colors: {
  custom: {
    50: '#aca1a3',
    500: '#8a7c7e',
    950: '#000000',
  },
}
SCSS
$custom: #8a7c7e;
$custom-light: #aca1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7c7e",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 126
  },
  "hsl": {
    "h": 351.429,
    "s": 5.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59961,
    "c": 0.01741,
    "h": 7.8
  },
  "luminance": 0.21325
}

Semantic roles & 50–950 ramp

primary
#8A7C7E
secondary
#AEB4B3
accent
#AFA779
background
#FAF9FA
surface
#F4F2F3
border
#CECCCD
text
#100F0F
muted
#7F7E7F

Preview Lab

Preview with #8A7C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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