#786E7E#786E7E

#786E7E is a mid, muted grey. Relative luminance 0.167; OKLCH L 55.3% C 0.027 H 313.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#786E7E
RGBrgb(120, 110, 126)
HSLhsl(278, 7%, 46%)
HSVhsv(278, 13%, 49%)
CMYKcmyk(4.8%, 12.7%, 0%, 50.6%)
CIE-LABlab(47.82, 7.12, -7.41)
CIE-LCHlch(47.82, 10.28, 313.82°)
OKLaboklab(55.29% 0.0185 -0.0199)
OKLCHoklch(55.29% 0.027 313)
XYZxyz(17.0869, 16.6514, 22.0485)
Luminance0.1665 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786E7E #747E6E
analogous
#706E7E #786E7E #7E6E7C
triadic
#786E7E #7E786E #6E7E78
tetradic
#786E7E #7E706E #747E6E #6E7C7E
square
#786E7E #7E706E #747E6E #6E7C7E
split-complementary
#786E7E #7C7E6E #6E7E70
monochromatic
#3A353D #59515D #786E7E #968D9C #B4AEB8

Accessibility & contrast

On white

4.85
#786E7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#786E7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786E7E
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786E7E#FFFFFF#000000##FFFFFF
##786E7E1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C717F
Deuteranopia (green-blind)
#6E727D
Tritanopia (blue-blind)
#787073
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #786e7e;
/* rgb */ color: rgb(120, 110, 126);
/* oklch */ color: oklch(55.3% 0.027 313.0);
Tailwind
colors: {
  custom: {
    50: '#9f97a3',
    500: '#786e7e',
    950: '#000000',
  },
}
SCSS
$custom: #786e7e;
$custom-light: #9f97a3;
$custom-dark: #000000;
JSON
{
  "hex": "#786e7e",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 126
  },
  "hsl": {
    "h": 277.5,
    "s": 6.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55285,
    "c": 0.02716,
    "h": 313
  },
  "luminance": 0.16651
}

Semantic roles & 50–950 ramp

primary
#786E7E
secondary
#A3A8A0
accent
#B0788D
background
#F9F9FA
surface
#F2F2F3
border
#CCCCCD
text
#0E0D0F
muted
#7E7E7F

Preview Lab

Preview with #786E7E

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

Preview Lab → · Contrast checker → · Palette generator →

#786E7E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva