#7E786F#7E786F

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

Color values

HEX#7E786F
RGBrgb(126, 120, 111)
HSLhsl(36, 6%, 46%)
HSVhsv(36, 12%, 49%)
CMYKcmyk(0%, 4.8%, 11.9%, 50.6%)
CIE-LABlab(50.71, 0.61, 5.76)
CIE-LCHlch(50.71, 5.79, 83.97°)
OKLaboklab(57.53% 0.0032 0.0151)
OKLCHoklch(57.53% 0.015 78.2)
XYZxyz(18.1896, 19.0165, 17.7482)
Luminance0.1902 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E786F #6F757E
analogous
#7E716F #7E786F #7D7E6F
triadic
#7E786F #6F7E78 #786F7E
tetradic
#7E786F #6F7E71 #6F757E #7E6F7D
square
#7E786F #6F7E71 #6F757E #7E6F7D
split-complementary
#7E786F #6F7D7E #716F7E
monochromatic
#3D3A36 #5D5952 #7E786F #9C968E #B8B5AF

Accessibility & contrast

On white

4.37
#7E786F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E786F#FFFFFF#000000##000000
##7E786F1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e786f;
/* rgb */ color: rgb(126, 120, 111);
/* oklch */ color: oklch(57.5% 0.015 78.2);
Tailwind
colors: {
  custom: {
    50: '#a39e98',
    500: '#7e786f',
    950: '#000000',
  },
}
SCSS
$custom: #7e786f;
$custom-light: #a39e98;
$custom-dark: #000000;
JSON
{
  "hex": "#7e786f",
  "rgb": {
    "r": 126,
    "g": 120,
    "b": 111
  },
  "hsl": {
    "h": 36,
    "s": 6.329,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57531,
    "c": 0.0154,
    "h": 78.2
  },
  "luminance": 0.19016
}

Semantic roles & 50–950 ramp

primary
#7E786F
secondary
#A0A4A8
accent
#8EAF78
background
#FAF9F9
surface
#F3F2F2
border
#CDCCCC
text
#0F0E0D
muted
#7F7E7E

Preview Lab

Preview with #7E786F

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

Preview Lab → · Contrast checker → · Palette generator →

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