#7E7E86#7E7E86

#7E7E86 is a mid, near-neutral grey. Relative luminance 0.211; OKLCH L 59.6% C 0.012 H 286.0°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7E7E86
RGBrgb(126, 126, 134)
HSLhsl(240, 3%, 51%)
HSVhsv(240, 6%, 53%)
CMYKcmyk(6%, 6%, 0%, 47.5%)
CIE-LABlab(53.04, 1.64, -4.33)
CIE-LCHlch(53.04, 4.63, 290.75°)
OKLaboklab(59.57% 0.0033 -0.0116)
OKLCHoklch(59.57% 0.012 286)
XYZxyz(20.3673, 21.0785, 25.5452)
Luminance0.2108 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7E86 #86867E
analogous
#7E8286 #7E7E86 #827E86
triadic
#7E7E86 #867E7E #7E867E
tetradic
#7E7E86 #867E82 #86867E #7E8682
square
#7E7E86 #867E82 #86867E #7E8682
split-complementary
#7E7E86 #86827E #82867E
monochromatic
#434347 #606067 #7E7E86 #9E9EA4 #BDBDC1

Accessibility & contrast

On white

4.03
#7E7E86 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#7E7E86 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7E86
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7E86#FFFFFF#000000##000000
##7E7E861.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C7F86
Deuteranopia (green-blind)
#7C7E86
Tritanopia (blue-blind)
#7D7F80
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7e7e86;
/* rgb */ color: rgb(126, 126, 134);
/* oklch */ color: oklch(59.6% 0.012 286.0);
Tailwind
colors: {
  custom: {
    50: '#a3a3a9',
    500: '#7e7e86',
    950: '#000000',
  },
}
SCSS
$custom: #7e7e86;
$custom-light: #a3a3a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7e86",
  "rgb": {
    "r": 126,
    "g": 126,
    "b": 134
  },
  "hsl": {
    "h": 240,
    "s": 3.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59573,
    "c": 0.01203,
    "h": 286
  },
  "luminance": 0.21079
}

Semantic roles & 50–950 ramp

primary
#7E7E86
secondary
#B2B2AE
accent
#AC7BAC
background
#FAFAFA
surface
#F3F3F4
border
#CDCDCE
text
#0F0F0F
muted
#7F7F7F

Preview Lab

Preview with #7E7E86

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

Preview Lab → · Contrast checker → · Palette generator →

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