#7E887E#7E887E

#7E887E is a mid, near-neutral grey. Relative luminance 0.235; OKLCH L 61.5% C 0.019 H 145.4°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#7E887E
RGBrgb(126, 136, 126)
HSLhsl(120, 4%, 51%)
HSVhsv(120, 7%, 53%)
CMYKcmyk(7.4%, 0%, 7.4%, 46.7%)
CIE-LABlab(55.63, -5.67, 4.11)
CIE-LCHlch(55.63, 7.00, 144.03°)
OKLaboklab(61.55% -0.0155 0.0107)
OKLCHoklch(61.55% 0.019 145.4)
XYZxyz(21.1735, 23.5501, 23.1647)
Luminance0.2355 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E887E #887E88
analogous
#83887E #7E887E #7E8883
triadic
#7E887E #7E7E88 #887E7E
tetradic
#7E887E #7E8388 #887E88 #88837E
square
#7E887E #7E8388 #887E88 #88837E
split-complementary
#7E887E #837E88 #887E83
monochromatic
#434943 #606860 #7E887E #9EA59E #BEC3BE

Accessibility & contrast

On white

3.68
#7E887E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#7E887E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E887E
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E887E#FFFFFF#000000##000000
##7E887E1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#89867D
Deuteranopia (green-blind)
#87857E
Tritanopia (blue-blind)
#7D8785
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7e887e;
/* rgb */ color: rgb(126, 136, 126);
/* oklch */ color: oklch(61.5% 0.019 145.4);
Tailwind
colors: {
  custom: {
    50: '#a3aaa3',
    500: '#7e887e',
    950: '#000000',
  },
}
SCSS
$custom: #7e887e;
$custom-light: #a3aaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e887e",
  "rgb": {
    "r": 126,
    "g": 136,
    "b": 126
  },
  "hsl": {
    "h": 120,
    "s": 4.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.61545,
    "c": 0.01889,
    "h": 145.4
  },
  "luminance": 0.2355
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E887E

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

Preview Lab → · Contrast checker → · Palette generator →

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