#8A7A7E#8A7A7E

#8A7A7E is a mid, muted grey. Relative luminance 0.208; OKLCH L 59.5% C 0.021 H 0.8°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8A7A7E
RGBrgb(138, 122, 126)
HSLhsl(345, 6%, 51%)
HSVhsv(345, 12%, 54%)
CMYKcmyk(0%, 11.6%, 8.7%, 45.9%)
CIE-LABlab(52.76, 6.87, 0.07)
CIE-LCHlch(52.76, 6.87, 0.60°)
OKLaboklab(59.54% 0.0205 0.0003)
OKLCHoklch(59.54% 0.021 0.8)
XYZxyz(21.2063, 20.8291, 22.6379)
Luminance0.2083 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7A7E #7A8A86
analogous
#8A7A86 #8A7A7E #8A7E7A
triadic
#8A7A7E #7E8A7A #7A7E8A
tetradic
#8A7A7E #868A7A #7A8A86 #7E7A8A
square
#8A7A7E #868A7A #7A8A86 #7E7A8A
split-complementary
#8A7A7E #7A8A7E #7A868A
monochromatic
#494043 #6A5D60 #8A7A7E #A79B9E #C3BBBD

Accessibility & contrast

On white

4.07
#8A7A7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#8A7A7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7A7E
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7A7E#FFFFFF#000000##000000
##8A7A7E1.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C7C7E
Deuteranopia (green-blind)
#7F7F7E
Tritanopia (blue-blind)
#8D797B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a7a7e;
/* rgb */ color: rgb(138, 122, 126);
/* oklch */ color: oklch(59.5% 0.021 0.8);
Tailwind
colors: {
  custom: {
    50: '#aca0a3',
    500: '#8a7a7e',
    950: '#000000',
  },
}
SCSS
$custom: #8a7a7e;
$custom-light: #aca0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7a7e",
  "rgb": {
    "r": 138,
    "g": 122,
    "b": 126
  },
  "hsl": {
    "h": 345,
    "s": 6.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59538,
    "c": 0.0205,
    "h": 0.8
  },
  "luminance": 0.20829
}

Semantic roles & 50–950 ramp

primary
#8A7A7E
secondary
#ACB3B2
accent
#AFA278
background
#FAF9FA
surface
#F4F2F3
border
#CECCCD
text
#100E0F
muted
#7F7E7F

Preview Lab

Preview with #8A7A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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