#7E888A#7E888A

#7E888A is a mid, near-neutral grey. Relative luminance 0.239; OKLCH L 61.9% C 0.012 H 211.0°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#7E888A
RGBrgb(126, 136, 138)
HSLhsl(190, 5%, 52%)
HSVhsv(190, 9%, 54%)
CMYKcmyk(8.7%, 1.4%, 0%, 45.9%)
CIE-LABlab(55.97, -3.23, -2.33)
CIE-LCHlch(55.97, 3.98, 215.79°)
OKLaboklab(61.92% -0.0104 -0.0063)
OKLCHoklch(61.92% 0.012 211)
XYZxyz(21.9948, 23.8786, 27.4901)
Luminance0.2388 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E888A #8A807E
analogous
#7E8A86 #7E888A #7E828A
triadic
#7E888A #8A7E88 #888A7E
tetradic
#7E888A #867E8A #8A807E #828A7E
square
#7E888A #867E8A #8A807E #828A7E
split-complementary
#7E888A #8A7E82 #8A867E
monochromatic
#43494A #60696A #7E888A #9EA6A7 #BEC3C4

Accessibility & contrast

On white

3.64
#7E888A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#7E888A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E888A
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E888A#FFFFFF#000000##000000
##7E888A1.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86878A
Deuteranopia (green-blind)
#84858A
Tritanopia (blue-blind)
#7B8989
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7e888a;
/* rgb */ color: rgb(126, 136, 138);
/* oklch */ color: oklch(61.9% 0.012 211.0);
Tailwind
colors: {
  custom: {
    50: '#a3aaac',
    500: '#7e888a',
    950: '#000000',
  },
}
SCSS
$custom: #7e888a;
$custom-light: #a3aaac;
$custom-dark: #000000;
JSON
{
  "hex": "#7e888a",
  "rgb": {
    "r": 126,
    "g": 136,
    "b": 138
  },
  "hsl": {
    "h": 190,
    "s": 4.878,
    "l": 51.765
  },
  "oklch": {
    "l": 0.61917,
    "c": 0.01215,
    "h": 211
  },
  "luminance": 0.23879
}

Semantic roles & 50–950 ramp

primary
#7E888A
secondary
#B5B0AF
accent
#827AAE
background
#FAFAFA
surface
#F3F4F4
border
#CDCECE
text
#0F1010
muted
#7F7F7F

Preview Lab

Preview with #7E888A

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

Preview Lab → · Contrast checker → · Palette generator →

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