#787A82#787A82

#787A82 is a mid, near-neutral grey. Relative luminance 0.195; OKLCH L 58.0% C 0.012 H 274.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#787A82
RGBrgb(120, 122, 130)
HSLhsl(228, 4%, 49%)
HSVhsv(228, 8%, 51%)
CMYKcmyk(7.7%, 6.2%, 0%, 49%)
CIE-LABlab(51.29, 0.92, -4.61)
CIE-LCHlch(51.29, 4.70, 281.27°)
OKLaboklab(58.05% 0.001 -0.0124)
OKLCHoklch(58.05% 0.012 274.8)
XYZxyz(18.7337, 19.5237, 23.8963)
Luminance0.1952 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787A82 #828078
analogous
#787F82 #787A82 #7B7882
triadic
#787A82 #82787A #7A8278
tetradic
#787A82 #82787F #828078 #78827B
square
#787A82 #82787F #828078 #78827B
split-complementary
#787A82 #827B78 #7F8278
monochromatic
#3D3E42 #5B5C62 #787A82 #9899A0 #B7B9BD

Accessibility & contrast

On white

4.28
#787A82 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#787A82 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787A82
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787A82#FFFFFF#000000##000000
##787A821.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#787B82
Deuteranopia (green-blind)
#777A82
Tritanopia (blue-blind)
#767B7C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #787a82;
/* rgb */ color: rgb(120, 122, 130);
/* oklch */ color: oklch(58.0% 0.012 274.8);
Tailwind
colors: {
  custom: {
    50: '#9fa0a6',
    500: '#787a82',
    950: '#000000',
  },
}
SCSS
$custom: #787a82;
$custom-light: #9fa0a6;
$custom-dark: #000000;
JSON
{
  "hex": "#787a82",
  "rgb": {
    "r": 120,
    "g": 122,
    "b": 130
  },
  "hsl": {
    "h": 228,
    "s": 4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58045,
    "c": 0.0124,
    "h": 274.8
  },
  "luminance": 0.19524
}

Semantic roles & 50–950 ramp

primary
#787A82
secondary
#ADACA9
accent
#A37BAD
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E0F
muted
#7E7E7F

Preview Lab

Preview with #787A82

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

Preview Lab → · Contrast checker → · Palette generator →

#787A82 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva