#8A807E#8A807E

#8A807E is a mid, near-neutral grey. Relative luminance 0.223; OKLCH L 60.8% C 0.013 H 31.1°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8A807E
RGBrgb(138, 128, 126)
HSLhsl(10, 5%, 52%)
HSVhsv(10, 9%, 54%)
CMYKcmyk(0%, 7.2%, 8.7%, 45.9%)
CIE-LABlab(54.39, 3.41, 2.45)
CIE-LCHlch(54.39, 4.20, 35.65°)
OKLaboklab(60.82% 0.0108 0.0065)
OKLCHoklch(60.82% 0.013 31.1)
XYZxyz(21.9659, 22.3483, 22.8911)
Luminance0.2235 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A807E #7E888A
analogous
#8A7E82 #8A807E #8A867E
triadic
#8A807E #7E8A80 #807E8A
tetradic
#8A807E #828A7E #7E888A #867E8A
square
#8A807E #828A7E #7E888A #867E8A
split-complementary
#8A807E #7E8A86 #7E828A
monochromatic
#4A4443 #6A6260 #8A807E #A7A09E #C4BFBE

Accessibility & contrast

On white

3.84
#8A807E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#8A807E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A807E
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A807E#FFFFFF#000000##000000
##8A807E1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#82817E
Deuteranopia (green-blind)
#84837E
Tritanopia (blue-blind)
#8D7F7F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a807e;
/* rgb */ color: rgb(138, 128, 126);
/* oklch */ color: oklch(60.8% 0.013 31.1);
Tailwind
colors: {
  custom: {
    50: '#aca4a3',
    500: '#8a807e',
    950: '#000000',
  },
}
SCSS
$custom: #8a807e;
$custom-light: #aca4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a807e",
  "rgb": {
    "r": 138,
    "g": 128,
    "b": 126
  },
  "hsl": {
    "h": 10,
    "s": 4.878,
    "l": 51.765
  },
  "oklch": {
    "l": 0.60815,
    "c": 0.01259,
    "h": 31.1
  },
  "luminance": 0.22348
}

Semantic roles & 50–950 ramp

primary
#8A807E
secondary
#AFB4B5
accent
#A5AE7A
background
#FAFAFA
surface
#F4F4F3
border
#CECECD
text
#100F0F
muted
#7F7F7F

Preview Lab

Preview with #8A807E

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

Preview Lab → · Contrast checker → · Palette generator →

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