#7E768A#7E768A

#7E768A is a mid, muted grey. Relative luminance 0.192; OKLCH L 58.0% C 0.032 H 303.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7E768A
RGBrgb(126, 118, 138)
HSLhsl(264, 8%, 50%)
HSVhsv(264, 14%, 54%)
CMYKcmyk(8.7%, 14.5%, 0%, 45.9%)
CIE-LABlab(50.95, 7.16, -9.77)
CIE-LCHlch(50.95, 12.11, 306.23°)
OKLaboklab(57.99% 0.0175 -0.0263)
OKLCHoklch(57.99% 0.032 303.6)
XYZxyz(19.6692, 19.2275, 26.7149)
Luminance0.1923 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E768A #828A76
analogous
#76788A #7E768A #88768A
triadic
#7E768A #8A7E76 #768A7E
tetradic
#7E768A #8A7678 #828A76 #768A88
square
#7E768A #8A7678 #828A76 #768A88
split-complementary
#7E768A #8A8876 #788A76
monochromatic
#423E48 #605A69 #7E768A #9D97A6 #BCB8C2

Accessibility & contrast

On white

4.33
#7E768A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#7E768A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E768A
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E768A#FFFFFF#000000##000000
##7E768A1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#73798B
Deuteranopia (green-blind)
#747989
Tritanopia (blue-blind)
#7C797D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7e768a;
/* rgb */ color: rgb(126, 118, 138);
/* oklch */ color: oklch(58.0% 0.032 303.6);
Tailwind
colors: {
  custom: {
    50: '#a39dac',
    500: '#7e768a',
    950: '#000000',
  },
}
SCSS
$custom: #7e768a;
$custom-light: #a39dac;
$custom-dark: #000000;
JSON
{
  "hex": "#7e768a",
  "rgb": {
    "r": 126,
    "g": 118,
    "b": 138
  },
  "hsl": {
    "h": 264,
    "s": 7.874,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57988,
    "c": 0.03159,
    "h": 303.6
  },
  "luminance": 0.19227
}

Semantic roles & 50–950 ramp

primary
#7E768A
secondary
#AFB2A9
accent
#B1779A
background
#FAF9FA
surface
#F3F2F4
border
#CDCCCE
text
#0F0E10
muted
#7F7E7F

Preview Lab

Preview with #7E768A

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

Preview Lab → · Contrast checker → · Palette generator →

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