#787E83#787E83

#787E83 is a mid, near-neutral grey. Relative luminance 0.206; OKLCH L 59.0% C 0.010 H 242.9°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#787E83
RGBrgb(120, 126, 131)
HSLhsl(207, 4%, 49%)
HSVhsv(207, 8%, 51%)
CMYKcmyk(8.4%, 3.8%, 0%, 48.6%)
CIE-LABlab(52.46, -1.18, -3.48)
CIE-LCHlch(52.46, 3.68, 251.33°)
OKLaboklab(58.97% -0.0048 -0.0093)
OKLCHoklch(58.97% 0.01 242.9)
XYZxyz(19.3025, 20.5533, 24.4186)
Luminance0.2055 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787E83 #837D78
analogous
#788383 #787E83 #787983
triadic
#787E83 #83787E #7E8378
tetradic
#787E83 #837883 #837D78 #798378
square
#787E83 #837883 #837D78 #798378
split-complementary
#787E83 #837879 #838378
monochromatic
#3D4143 #5B5F63 #787E83 #989CA0 #B8BBBE

Accessibility & contrast

On white

4.11
#787E83 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#787E83 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787E83
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787E83#FFFFFF#000000##000000
##787E831.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C7E83
Deuteranopia (green-blind)
#7B7D83
Tritanopia (blue-blind)
#757F80
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #787e83;
/* rgb */ color: rgb(120, 126, 131);
/* oklch */ color: oklch(59.0% 0.010 242.9);
Tailwind
colors: {
  custom: {
    50: '#9fa3a7',
    500: '#787e83',
    950: '#000000',
  },
}
SCSS
$custom: #787e83;
$custom-light: #9fa3a7;
$custom-dark: #000000;
JSON
{
  "hex": "#787e83",
  "rgb": {
    "r": 120,
    "g": 126,
    "b": 131
  },
  "hsl": {
    "h": 207.273,
    "s": 4.382,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58968,
    "c": 0.01049,
    "h": 242.9
  },
  "luminance": 0.20553
}

Semantic roles & 50–950 ramp

primary
#787E83
secondary
#AEABA9
accent
#927AAE
background
#F9FAFA
surface
#F2F3F4
border
#CCCDCE
text
#0E0F0F
muted
#7E7F7F

Preview Lab

Preview with #787E83

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

Preview Lab → · Contrast checker → · Palette generator →

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