#7E8886#7E8886

#7E8886 is a mid, near-neutral grey. Relative luminance 0.238; OKLCH L 61.8% C 0.012 H 182.7°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#7E8886
RGBrgb(126, 136, 134)
HSLhsl(168, 4%, 51%)
HSVhsv(168, 7%, 53%)
CMYKcmyk(7.4%, 0%, 1.5%, 46.7%)
CIE-LABlab(55.85, -4.06, -0.19)
CIE-LCHlch(55.85, 4.07, 182.63°)
OKLaboklab(61.79% -0.0121 -0.0006)
OKLCHoklch(61.79% 0.012 182.7)
XYZxyz(21.7105, 23.7649, 25.9929)
Luminance0.2377 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8886 #887E80
analogous
#7E8881 #7E8886 #7E8588
triadic
#7E8886 #867E88 #88867E
tetradic
#7E8886 #817E88 #887E80 #85887E
square
#7E8886 #817E88 #887E80 #85887E
split-complementary
#7E8886 #887E85 #88817E
monochromatic
#434947 #606867 #7E8886 #9EA5A4 #BEC3C2

Accessibility & contrast

On white

3.65
#7E8886 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#7E8886 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8886
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8886#FFFFFF#000000##000000
##7E88861.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#878786
Deuteranopia (green-blind)
#858586
Tritanopia (blue-blind)
#7C8887
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7e8886;
/* rgb */ color: rgb(126, 136, 134);
/* oklch */ color: oklch(61.8% 0.012 182.7);
Tailwind
colors: {
  custom: {
    50: '#a3aaa9',
    500: '#7e8886',
    950: '#000000',
  },
}
SCSS
$custom: #7e8886;
$custom-light: #a3aaa9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8886",
  "rgb": {
    "r": 126,
    "g": 136,
    "b": 134
  },
  "hsl": {
    "h": 168,
    "s": 4.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.61788,
    "c": 0.0121,
    "h": 182.7
  },
  "luminance": 0.23765
}

Semantic roles & 50–950 ramp

primary
#7E8886
secondary
#B3AFB0
accent
#7B85AD
background
#FAFAFA
surface
#F3F4F4
border
#CDCECE
text
#0F100F
muted
#7F7F7F

Preview Lab

Preview with #7E8886

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

Preview Lab → · Contrast checker → · Palette generator →

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