#7E7C86#7E7C86

#7E7C86 is a mid, near-neutral grey. Relative luminance 0.206; OKLCH L 59.1% C 0.015 H 295.1°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7E7C86
RGBrgb(126, 124, 134)
HSLhsl(252, 4%, 51%)
HSVhsv(252, 7%, 53%)
CMYKcmyk(6%, 7.5%, 0%, 47.5%)
CIE-LABlab(52.48, 2.80, -5.15)
CIE-LCHlch(52.48, 5.86, 298.50°)
OKLaboklab(59.14% 0.0065 -0.0138)
OKLCHoklch(59.14% 0.015 295.1)
XYZxyz(20.1141, 20.5721, 25.4608)
Luminance0.2057 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7C86 #84867C
analogous
#7C7F86 #7E7C86 #837C86
triadic
#7E7C86 #867E7C #7C867E
tetradic
#7E7C86 #867C7F #84867C #7C8683
square
#7E7C86 #867C7F #84867C #7C8683
split-complementary
#7E7C86 #86837C #7F867C
monochromatic
#424146 #605E66 #7E7C86 #9D9CA3 #BDBCC1

Accessibility & contrast

On white

4.11
#7E7C86 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#7E7C86 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7C86
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7C86#FFFFFF#000000##000000
##7E7C861.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A7D86
Deuteranopia (green-blind)
#7A7D86
Tritanopia (blue-blind)
#7D7D7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7e7c86;
/* rgb */ color: rgb(126, 124, 134);
/* oklch */ color: oklch(59.1% 0.015 295.1);
Tailwind
colors: {
  custom: {
    50: '#a3a1a9',
    500: '#7e7c86',
    950: '#000000',
  },
}
SCSS
$custom: #7e7c86;
$custom-light: #a3a1a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7c86",
  "rgb": {
    "r": 126,
    "g": 124,
    "b": 134
  },
  "hsl": {
    "h": 252,
    "s": 3.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59136,
    "c": 0.01521,
    "h": 295.1
  },
  "luminance": 0.20572
}

Semantic roles & 50–950 ramp

primary
#7E7C86
secondary
#B0B1AD
accent
#AD7BA3
background
#FAF9FA
surface
#F3F2F4
border
#CDCCCE
text
#0F0F0F
muted
#7F7E7F

Preview Lab

Preview with #7E7C86

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

Preview Lab → · Contrast checker → · Palette generator →

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