#808E7C#808E7C

#808E7C is a light, muted grey. Relative luminance 0.254; OKLCH L 63.0% C 0.031 H 138.7°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#808E7C
RGBrgb(128, 142, 124)
HSLhsl(107, 7%, 52%)
HSVhsv(107, 13%, 56%)
CMYKcmyk(9.9%, 0%, 12.7%, 44.3%)
CIE-LABlab(57.45, -8.63, 7.89)
CIE-LCHlch(57.45, 11.69, 137.58°)
OKLaboklab(63.01% -0.0233 0.0205)
OKLCHoklch(63.01% 0.031 138.7)
XYZxyz(22.2125, 25.3902, 22.7954)
Luminance0.2539 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808E7C #8A7C8E
analogous
#898E7C #808E7C #7C8E81
triadic
#808E7C #7C808E #8E7C80
tetradic
#808E7C #7C898E #8A7C8E #8E817C
square
#808E7C #7C898E #8A7C8E #8E817C
split-complementary
#808E7C #817C8E #8E7C89
monochromatic
#454D43 #626E5F #808E7C #A0AA9D #C0C7BE

Accessibility & contrast

On white

3.46
#808E7C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#808E7C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808E7C
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808E7C#FFFFFF#000000##000000
##808E7C1.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8B7B
Deuteranopia (green-blind)
#8D897D
Tritanopia (blue-blind)
#808D89
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #808e7c;
/* rgb */ color: rgb(128, 142, 124);
/* oklch */ color: oklch(63.0% 0.031 138.7);
Tailwind
colors: {
  custom: {
    50: '#a5afa1',
    500: '#808e7c',
    950: '#000000',
  },
}
SCSS
$custom: #808e7c;
$custom-light: #a5afa1;
$custom-dark: #000000;
JSON
{
  "hex": "#808e7c",
  "rgb": {
    "r": 128,
    "g": 142,
    "b": 124
  },
  "hsl": {
    "h": 106.667,
    "s": 7.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.63008,
    "c": 0.03104,
    "h": 138.7
  },
  "luminance": 0.2539
}

Semantic roles & 50–950 ramp

primary
#808E7C
secondary
#B5AFB7
accent
#77B0A4
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#0F100F
muted
#7F7F7E

Preview Lab

Preview with #808E7C

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

Preview Lab → · Contrast checker → · Palette generator →

#808E7C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva