#786C7A#786C7A

#786C7A is a mid, muted grey. Relative luminance 0.161; OKLCH L 54.7% C 0.026 H 321.4°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#786C7A
RGBrgb(120, 108, 122)
HSLhsl(291, 6%, 45%)
HSVhsv(291, 11%, 48%)
CMYKcmyk(1.6%, 11.5%, 0%, 52.2%)
CIE-LABlab(47.14, 7.46, -6.04)
CIE-LCHlch(47.14, 9.60, 321.00°)
OKLaboklab(54.71% 0.0202 -0.0161)
OKLCHoklch(54.71% 0.026 321.4)
XYZxyz(16.6206, 16.1235, 20.6451)
Luminance0.1612 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786C7A #6E7A6C
analogous
#716C7A #786C7A #7A6C75
triadic
#786C7A #7A786C #6C7A78
tetradic
#786C7A #7A716C #6E7A6C #6C757A
square
#786C7A #7A716C #6E7A6C #6C757A
split-complementary
#786C7A #757A6C #6C7A71
monochromatic
#383339 #584F5A #786C7A #968B98 #B4ABB5

Accessibility & contrast

On white

4.97
#786C7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#786C7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786C7A
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786C7A#FFFFFF#000000##FFFFFF
##786C7A1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6F7B
Deuteranopia (green-blind)
#6D7079
Tritanopia (blue-blind)
#796D71
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #786c7a;
/* rgb */ color: rgb(120, 108, 122);
/* oklch */ color: oklch(54.7% 0.026 321.4);
Tailwind
colors: {
  custom: {
    50: '#9f96a0',
    500: '#786c7a',
    950: '#000000',
  },
}
SCSS
$custom: #786c7a;
$custom-light: #9f96a0;
$custom-dark: #000000;
JSON
{
  "hex": "#786c7a",
  "rgb": {
    "r": 120,
    "g": 108,
    "b": 122
  },
  "hsl": {
    "h": 291.429,
    "s": 6.087,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54711,
    "c": 0.02584,
    "h": 321.4
  },
  "luminance": 0.16123
}

Semantic roles & 50–950 ramp

primary
#786C7A
secondary
#9EA59D
accent
#AF7980
background
#F9F9F9
surface
#F2F1F2
border
#CCCBCC
text
#0E0D0E
muted
#7E7E7E

Preview Lab

Preview with #786C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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