#807878#807878

#807878 is a mid, near-neutral grey. Relative luminance 0.194; OKLCH L 58.0% C 0.010 H 17.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#807878
RGBrgb(128, 120, 120)
HSLhsl(0, 3%, 49%)
HSVhsv(0, 6%, 50%)
CMYKcmyk(0%, 6.3%, 6.3%, 49.8%)
CIE-LABlab(51.13, 3.06, 1.10)
CIE-LCHlch(51.13, 3.25, 19.77°)
OKLaboklab(57.98% 0.0094 0.003)
OKLCHoklch(57.98% 0.01 17.4)
XYZxyz(19.0083, 19.3784, 20.5047)
Luminance0.1938 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807878 #788080
analogous
#80787C #807878 #807C78
triadic
#807878 #788078 #787880
tetradic
#807878 #7C8078 #788080 #7C7880
square
#807878 #7C8078 #788080 #7C7880
split-complementary
#807878 #78807C #787C80
monochromatic
#413D3D #605A5A #807878 #9E9797 #BBB7B7

Accessibility & contrast

On white

4.31
#807878 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#807878 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807878
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807878#FFFFFF#000000##000000
##8078781.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#797978
Deuteranopia (green-blind)
#7B7A78
Tritanopia (blue-blind)
#827778
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #807878;
/* rgb */ color: rgb(128, 120, 120);
/* oklch */ color: oklch(58.0% 0.010 17.4);
Tailwind
colors: {
  custom: {
    50: '#a49f9e',
    500: '#807878',
    950: '#000000',
  },
}
SCSS
$custom: #807878;
$custom-light: #a49f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#807878",
  "rgb": {
    "r": 128,
    "g": 120,
    "b": 120
  },
  "hsl": {
    "h": 0,
    "s": 3.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57984,
    "c": 0.00984,
    "h": 17.4
  },
  "luminance": 0.19378
}

Semantic roles & 50–950 ramp

primary
#807878
secondary
#A8ACAC
accent
#ACAC7B
background
#FAF9F9
surface
#F4F2F2
border
#CECCCC
text
#0F0E0E
muted
#7F7E7E

Preview Lab

Preview with #807878

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

Preview Lab → · Contrast checker → · Palette generator →

#807878 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva