#7E877E#7E877E

#7E877E is a mid, near-neutral grey. Relative luminance 0.233; OKLCH L 61.3% C 0.017 H 145.4°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7E877E
RGBrgb(126, 135, 126)
HSLhsl(120, 4%, 51%)
HSVhsv(120, 7%, 53%)
CMYKcmyk(6.7%, 0%, 6.7%, 47.1%)
CIE-LABlab(55.35, -5.11, 3.70)
CIE-LCHlch(55.35, 6.31, 144.08°)
OKLaboklab(61.32% -0.014 0.0097)
OKLCHoklch(61.32% 0.017 145.4)
XYZxyz(21.0333, 23.2698, 23.1180)
Luminance0.2327 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E877E #877E87
analogous
#82877E #7E877E #7E8782
triadic
#7E877E #7E7E87 #877E7E
tetradic
#7E877E #7E8287 #877E87 #87827E
square
#7E877E #7E8287 #877E87 #87827E
split-complementary
#7E877E #827E87 #877E82
monochromatic
#434843 #606860 #7E877E #9EA49E #BDC2BD

Accessibility & contrast

On white

3.71
#7E877E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#7E877E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E877E
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E877E#FFFFFF#000000##000000
##7E877E1.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#87857E
Deuteranopia (green-blind)
#86847E
Tritanopia (blue-blind)
#7D8684
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7e877e;
/* rgb */ color: rgb(126, 135, 126);
/* oklch */ color: oklch(61.3% 0.017 145.4);
Tailwind
colors: {
  custom: {
    50: '#a3aaa3',
    500: '#7e877e',
    950: '#000000',
  },
}
SCSS
$custom: #7e877e;
$custom-light: #a3aaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e877e",
  "rgb": {
    "r": 126,
    "g": 135,
    "b": 126
  },
  "hsl": {
    "h": 120,
    "s": 3.614,
    "l": 51.176
  },
  "oklch": {
    "l": 0.61319,
    "c": 0.01703,
    "h": 145.4
  },
  "luminance": 0.2327
}

Semantic roles & 50–950 ramp

primary
#7E877E
secondary
#B2AEB2
accent
#7BADAD
background
#FAFAFA
surface
#F3F4F3
border
#CDCECD
text
#0F100F
muted
#7F7F7F

Preview Lab

Preview with #7E877E

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

Preview Lab → · Contrast checker → · Palette generator →

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