#786E7C#786E7C

#786E7C is a mid, muted grey. Relative luminance 0.166; OKLCH L 55.2% C 0.024 H 316.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#786E7C
RGBrgb(120, 110, 124)
HSLhsl(283, 6%, 46%)
HSVhsv(283, 11%, 49%)
CMYKcmyk(3.2%, 11.3%, 0%, 51.4%)
CIE-LABlab(47.75, 6.69, -6.32)
CIE-LCHlch(47.75, 9.21, 316.64°)
OKLaboklab(55.21% 0.0177 -0.0169)
OKLCHoklch(55.21% 0.024 316.4)
XYZxyz(16.9592, 16.6003, 21.3756)
Luminance0.1660 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786E7C #727C6E
analogous
#716E7C #786E7C #7C6E79
triadic
#786E7C #7C786E #6E7C78
tetradic
#786E7C #7C716E #727C6E #6E797C
square
#786E7C #7C716E #727C6E #6E797C
split-complementary
#786E7C #797C6E #6E7C71
monochromatic
#39343B #59515C #786E7C #968D9A #B4AEB7

Accessibility & contrast

On white

4.86
#786E7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#786E7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786E7C
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786E7C#FFFFFF#000000##FFFFFF
##786E7C1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C717D
Deuteranopia (green-blind)
#6E727B
Tritanopia (blue-blind)
#786F73
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #786e7c;
/* rgb */ color: rgb(120, 110, 124);
/* oklch */ color: oklch(55.2% 0.024 316.4);
Tailwind
colors: {
  custom: {
    50: '#9f97a1',
    500: '#786e7c',
    950: '#000000',
  },
}
SCSS
$custom: #786e7c;
$custom-light: #9f97a1;
$custom-dark: #000000;
JSON
{
  "hex": "#786e7c",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 124
  },
  "hsl": {
    "h": 282.857,
    "s": 5.983,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55212,
    "c": 0.02449,
    "h": 316.4
  },
  "luminance": 0.166
}

Semantic roles & 50–950 ramp

primary
#786E7C
secondary
#A1A79F
accent
#AF7988
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0D0F
muted
#7E7E7E

Preview Lab

Preview with #786E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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