#7E7A86#7E7A86

#7E7A86 is a mid, near-neutral grey. Relative luminance 0.201; OKLCH L 58.7% C 0.019 H 301.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7E7A86
RGBrgb(126, 122, 134)
HSLhsl(260, 5%, 50%)
HSVhsv(260, 9%, 53%)
CMYKcmyk(6%, 9%, 0%, 47.5%)
CIE-LABlab(51.92, 3.96, -5.97)
CIE-LCHlch(51.92, 7.17, 303.53°)
OKLaboklab(58.7% 0.0096 -0.016)
OKLCHoklch(58.7% 0.019 301)
XYZxyz(19.8660, 20.0759, 25.3781)
Luminance0.2008 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7A86 #82867A
analogous
#7A7C86 #7E7A86 #847A86
triadic
#7E7A86 #867E7A #7A867E
tetradic
#7E7A86 #867A7C #82867A #7A8684
square
#7E7A86 #867A7C #82867A #7A8684
split-complementary
#7E7A86 #86847A #7C867A
monochromatic
#424046 #605D66 #7E7A86 #9D9AA3 #BCBAC0

Accessibility & contrast

On white

4.19
#7E7A86 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#7E7A86 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7A86
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7A86#FFFFFF#000000##000000
##7E7A861.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#787C87
Deuteranopia (green-blind)
#797C86
Tritanopia (blue-blind)
#7D7C7E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7e7a86;
/* rgb */ color: rgb(126, 122, 134);
/* oklch */ color: oklch(58.7% 0.019 301.0);
Tailwind
colors: {
  custom: {
    50: '#a3a0a9',
    500: '#7e7a86',
    950: '#000000',
  },
}
SCSS
$custom: #7e7a86;
$custom-light: #a3a0a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7a86",
  "rgb": {
    "r": 126,
    "g": 122,
    "b": 134
  },
  "hsl": {
    "h": 260,
    "s": 4.724,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58702,
    "c": 0.01865,
    "h": 301
  },
  "luminance": 0.20076
}

Semantic roles & 50–950 ramp

primary
#7E7A86
secondary
#AFB1AB
accent
#AE7A9D
background
#FAF9FA
surface
#F3F2F4
border
#CDCCCE
text
#0F0E0F
muted
#7F7E7F

Preview Lab

Preview with #7E7A86

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

Preview Lab → · Contrast checker → · Palette generator →

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