#76787F#76787F

#76787F is a mid, near-neutral grey. Relative luminance 0.188; OKLCH L 57.3% C 0.011 H 273.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#76787F
RGBrgb(118, 120, 127)
HSLhsl(227, 4%, 48%)
HSVhsv(227, 7%, 50%)
CMYKcmyk(7.1%, 5.5%, 0%, 50.2%)
CIE-LABlab(50.47, 0.71, -4.08)
CIE-LCHlch(50.47, 4.14, 279.84°)
OKLaboklab(57.33% 0.0006 -0.0109)
OKLCHoklch(57.33% 0.011 273.2)
XYZxyz(18.0177, 18.8167, 22.7573)
Luminance0.1882 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76787F #7F7D76
analogous
#767C7F #76787F #78767F
triadic
#76787F #7F7678 #787F76
tetradic
#76787F #7F767C #7F7D76 #767F78
square
#76787F #7F767C #7F7D76 #767F78
split-complementary
#76787F #7F7876 #7C7F76
monochromatic
#3B3C40 #595A5F #76787F #95979D #B5B6BA

Accessibility & contrast

On white

4.41
#76787F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#76787F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #76787F
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76787F#FFFFFF#000000##000000
##76787F1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#76787F
Deuteranopia (green-blind)
#76787F
Tritanopia (blue-blind)
#74797A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #76787f;
/* rgb */ color: rgb(118, 120, 127);
/* oklch */ color: oklch(57.3% 0.011 273.2);
Tailwind
colors: {
  custom: {
    50: '#9d9ea4',
    500: '#76787f',
    950: '#000000',
  },
}
SCSS
$custom: #76787f;
$custom-light: #9d9ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#76787f",
  "rgb": {
    "r": 118,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 226.667,
    "s": 3.673,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57328,
    "c": 0.01095,
    "h": 273.2
  },
  "luminance": 0.18817
}

Semantic roles & 50–950 ramp

primary
#76787F
secondary
#ABAAA6
accent
#A27BAD
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E0F
muted
#7E7E7F

Preview Lab

Preview with #76787F

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

Preview Lab → · Contrast checker → · Palette generator →

#76787F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva