#786A7C#786A7C

#786A7C is a mid, muted grey. Relative luminance 0.158; OKLCH L 54.4% C 0.032 H 318.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#786A7C
RGBrgb(120, 106, 124)
HSLhsl(287, 8%, 45%)
HSVhsv(287, 15%, 49%)
CMYKcmyk(3.2%, 14.5%, 0%, 51.4%)
CIE-LABlab(46.65, 9.08, -7.96)
CIE-LCHlch(46.65, 12.07, 318.75°)
OKLaboklab(54.36% 0.0242 -0.0213)
OKLCHoklch(54.36% 0.032 318.7)
XYZxyz(16.5373, 15.7566, 21.2350)
Luminance0.1576 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786A7C #6E7C6A
analogous
#6F6A7C #786A7C #7C6A77
triadic
#786A7C #7C786A #6A7C78
tetradic
#786A7C #7C6F6A #6E7C6A #6A777C
square
#786A7C #7C6F6A #6E7C6A #6A777C
split-complementary
#786A7C #777C6A #6A7C6F
monochromatic
#38323A #584E5B #786A7C #96899A #B4AAB6

Accessibility & contrast

On white

5.06
#786A7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#786A7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786A7C
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786A7C#FFFFFF#000000##FFFFFF
##786A7C1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#686E7D
Deuteranopia (green-blind)
#6B6F7B
Tritanopia (blue-blind)
#786C70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #786a7c;
/* rgb */ color: rgb(120, 106, 124);
/* oklch */ color: oklch(54.4% 0.032 318.7);
Tailwind
colors: {
  custom: {
    50: '#9f94a1',
    500: '#786a7c',
    950: '#000000',
  },
}
SCSS
$custom: #786a7c;
$custom-light: #9f94a1;
$custom-dark: #000000;
JSON
{
  "hex": "#786a7c",
  "rgb": {
    "r": 120,
    "g": 106,
    "b": 124
  },
  "hsl": {
    "h": 286.667,
    "s": 7.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54358,
    "c": 0.03228,
    "h": 318.7
  },
  "luminance": 0.15756
}

Semantic roles & 50–950 ramp

primary
#786A7C
secondary
#9EA69C
accent
#B17784
background
#F9F9F9
surface
#F2F1F2
border
#CCCBCC
text
#0E0D0F
muted
#7E7E7E

Preview Lab

Preview with #786A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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