#7E786E#7E786E

#7E786E is a mid, near-neutral grey. Relative luminance 0.190; OKLCH L 57.5% C 0.017 H 80.7°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7E786E
RGBrgb(126, 120, 110)
HSLhsl(38, 7%, 46%)
HSVhsv(38, 13%, 49%)
CMYKcmyk(0%, 4.8%, 12.7%, 50.6%)
CIE-LABlab(50.68, 0.43, 6.31)
CIE-LCHlch(50.68, 6.33, 86.10°)
OKLaboklab(57.5% 0.0027 0.0165)
OKLCHoklch(57.5% 0.017 80.7)
XYZxyz(18.1349, 18.9946, 17.4598)
Luminance0.1899 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E786E #6E747E
analogous
#7E706E #7E786E #7C7E6E
triadic
#7E786E #6E7E78 #786E7E
tetradic
#7E786E #6E7E70 #6E747E #7E6E7C
square
#7E786E #6E7E70 #6E747E #7E6E7C
split-complementary
#7E786E #6E7C7E #706E7E
monochromatic
#3D3A35 #5D5951 #7E786E #9C968D #B8B4AE

Accessibility & contrast

On white

4.38
#7E786E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#7E786E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E786E
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E786E#FFFFFF#000000##000000
##7E786E1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B786D
Deuteranopia (green-blind)
#7C796E
Tritanopia (blue-blind)
#817675
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7e786e;
/* rgb */ color: rgb(126, 120, 110);
/* oklch */ color: oklch(57.5% 0.017 80.7);
Tailwind
colors: {
  custom: {
    50: '#a39e97',
    500: '#7e786e',
    950: '#000000',
  },
}
SCSS
$custom: #7e786e;
$custom-light: #a39e97;
$custom-dark: #000000;
JSON
{
  "hex": "#7e786e",
  "rgb": {
    "r": 126,
    "g": 120,
    "b": 110
  },
  "hsl": {
    "h": 37.5,
    "s": 6.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.57502,
    "c": 0.0167,
    "h": 80.7
  },
  "luminance": 0.18994
}

Semantic roles & 50–950 ramp

primary
#7E786E
secondary
#A0A3A8
accent
#8DB078
background
#FAF9F9
surface
#F3F2F2
border
#CDCCCC
text
#0F0E0D
muted
#7F7E7E

Preview Lab

Preview with #7E786E

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

Preview Lab → · Contrast checker → · Palette generator →

#7E786E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva