#8A7E7E#8A7E7E

#8A7E7E is a mid, near-neutral grey. Relative luminance 0.218; OKLCH L 60.4% C 0.015 H 17.5°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8A7E7E
RGBrgb(138, 126, 126)
HSLhsl(0, 5%, 52%)
HSVhsv(0, 9%, 54%)
CMYKcmyk(0%, 8.7%, 8.7%, 45.9%)
CIE-LABlab(53.85, 4.56, 1.65)
CIE-LCHlch(53.85, 4.85, 19.94°)
OKLaboklab(60.39% 0.014 0.0044)
OKLCHoklch(60.39% 0.015 17.5)
XYZxyz(21.7076, 21.8317, 22.8050)
Luminance0.2183 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7E7E #7E8A8A
analogous
#8A7E84 #8A7E7E #8A847E
triadic
#8A7E7E #7E8A7E #7E7E8A
tetradic
#8A7E7E #848A7E #7E8A8A #847E8A
square
#8A7E7E #848A7E #7E8A8A #847E8A
split-complementary
#8A7E7E #7E8A84 #7E848A
monochromatic
#4A4343 #6A6060 #8A7E7E #A79E9E #C4BEBE

Accessibility & contrast

On white

3.91
#8A7E7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#8A7E7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7E7E
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7E7E#FFFFFF#000000##000000
##8A7E7E1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#807F7E
Deuteranopia (green-blind)
#83827E
Tritanopia (blue-blind)
#8D7D7E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a7e7e;
/* rgb */ color: rgb(138, 126, 126);
/* oklch */ color: oklch(60.4% 0.015 17.5);
Tailwind
colors: {
  custom: {
    50: '#aca3a3',
    500: '#8a7e7e',
    950: '#000000',
  },
}
SCSS
$custom: #8a7e7e;
$custom-light: #aca3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7e7e",
  "rgb": {
    "r": 138,
    "g": 126,
    "b": 126
  },
  "hsl": {
    "h": 0,
    "s": 4.878,
    "l": 51.765
  },
  "oklch": {
    "l": 0.60387,
    "c": 0.01469,
    "h": 17.5
  },
  "luminance": 0.21831
}

Semantic roles & 50–950 ramp

primary
#8A7E7E
secondary
#AFB5B5
accent
#AEAE7A
background
#FAFAFA
surface
#F4F3F3
border
#CECDCD
text
#100F0F
muted
#7F7F7F

Preview Lab

Preview with #8A7E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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