#787D85#787D85

#787D85 is a mid, near-neutral grey. Relative luminance 0.204; OKLCH L 58.8% C 0.014 H 259.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#787D85
RGBrgb(120, 125, 133)
HSLhsl(217, 5%, 50%)
HSVhsv(217, 10%, 52%)
CMYKcmyk(9.8%, 6%, 0%, 47.8%)
CIE-LABlab(52.23, -0.17, -4.98)
CIE-LCHlch(52.23, 4.98, 268.05°)
OKLaboklab(58.81% -0.0024 -0.0134)
OKLCHoklch(58.81% 0.014 259.8)
XYZxyz(19.3121, 20.3536, 25.0969)
Luminance0.2035 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787D85 #858078
analogous
#788485 #787D85 #7A7885
triadic
#787D85 #85787D #7D8578
tetradic
#787D85 #857884 #858078 #78857A
square
#787D85 #857884 #858078 #78857A
split-complementary
#787D85 #857A78 #848578
monochromatic
#3E4145 #5B5F65 #787D85 #989CA2 #B8BBBF

Accessibility & contrast

On white

4.14
#787D85 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#787D85 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787D85
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787D85#FFFFFF#000000##000000
##787D851.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B7D85
Deuteranopia (green-blind)
#797C85
Tritanopia (blue-blind)
#757F7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #787d85;
/* rgb */ color: rgb(120, 125, 133);
/* oklch */ color: oklch(58.8% 0.014 259.8);
Tailwind
colors: {
  custom: {
    50: '#9fa2a8',
    500: '#787d85',
    950: '#000000',
  },
}
SCSS
$custom: #787d85;
$custom-light: #9fa2a8;
$custom-dark: #000000;
JSON
{
  "hex": "#787d85",
  "rgb": {
    "r": 120,
    "g": 125,
    "b": 133
  },
  "hsl": {
    "h": 216.923,
    "s": 5.138,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58813,
    "c": 0.01358,
    "h": 259.8
  },
  "luminance": 0.20354
}

Semantic roles & 50–950 ramp

primary
#787D85
secondary
#AFADA9
accent
#9A7AAE
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0F0F
muted
#7E7E7F

Preview Lab

Preview with #787D85

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

Preview Lab → · Contrast checker → · Palette generator →

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