#787D83#787D83

#787D83 is a mid, near-neutral grey. Relative luminance 0.203; OKLCH L 58.7% C 0.011 H 252.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#787D83
RGBrgb(120, 125, 131)
HSLhsl(213, 4%, 49%)
HSVhsv(213, 8%, 51%)
CMYKcmyk(8.4%, 4.6%, 0%, 48.6%)
CIE-LABlab(52.17, -0.60, -3.90)
CIE-LCHlch(52.17, 3.95, 261.24°)
OKLaboklab(58.75% -0.0032 -0.0105)
OKLCHoklch(58.75% 0.011 252.9)
XYZxyz(19.1752, 20.2988, 24.3762)
Luminance0.2030 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787D83 #837E78
analogous
#788383 #787D83 #797883
triadic
#787D83 #83787D #7D8378
tetradic
#787D83 #837883 #837E78 #788379
square
#787D83 #837883 #837E78 #788379
split-complementary
#787D83 #837978 #838378
monochromatic
#3D4043 #5B5F63 #787D83 #989CA0 #B8BABE

Accessibility & contrast

On white

4.15
#787D83 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#787D83 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787D83
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787D83#FFFFFF#000000##000000
##787D831.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B7D83
Deuteranopia (green-blind)
#7A7C83
Tritanopia (blue-blind)
#757E7F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #787d83;
/* rgb */ color: rgb(120, 125, 131);
/* oklch */ color: oklch(58.7% 0.011 252.9);
Tailwind
colors: {
  custom: {
    50: '#9fa2a7',
    500: '#787d83',
    950: '#000000',
  },
}
SCSS
$custom: #787d83;
$custom-light: #9fa2a7;
$custom-dark: #000000;
JSON
{
  "hex": "#787d83",
  "rgb": {
    "r": 120,
    "g": 125,
    "b": 131
  },
  "hsl": {
    "h": 212.727,
    "s": 4.382,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58745,
    "c": 0.01094,
    "h": 252.9
  },
  "luminance": 0.20299
}

Semantic roles & 50–950 ramp

primary
#787D83
secondary
#AEACA9
accent
#967AAE
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0F0F
muted
#7E7E7F

Preview Lab

Preview with #787D83

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

Preview Lab → · Contrast checker → · Palette generator →

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