#7E8A8C#7E8A8C

#7E8A8C is a light, near-neutral grey. Relative luminance 0.245; OKLCH L 62.4% C 0.014 H 208.7°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#7E8A8C
RGBrgb(126, 138, 140)
HSLhsl(189, 6%, 52%)
HSVhsv(189, 10%, 55%)
CMYKcmyk(10%, 1.4%, 0%, 45.1%)
CIE-LABlab(56.59, -3.93, -2.56)
CIE-LCHlch(56.59, 4.69, 213.09°)
OKLaboklab(62.43% -0.0126 -0.0069)
OKLCHoklch(62.43% 0.014 208.7)
XYZxyz(22.4252, 24.5057, 28.3545)
Luminance0.2451 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8A8C #8C807E
analogous
#7E8C87 #7E8A8C #7E838C
triadic
#7E8A8C #8C7E8A #8A8C7E
tetradic
#7E8A8C #877E8C #8C807E #838C7E
square
#7E8A8C #877E8C #8C807E #838C7E
split-complementary
#7E8A8C #8C7E83 #8C877E
monochromatic
#444B4C #616B6C #7E8A8C #9EA7A9 #BFC5C6

Accessibility & contrast

On white

3.56
#7E8A8C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#7E8A8C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8A8C
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8A8C#FFFFFF#000000##000000
##7E8A8C1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#88898C
Deuteranopia (green-blind)
#85878C
Tritanopia (blue-blind)
#7A8B8B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7e8a8c;
/* rgb */ color: rgb(126, 138, 140);
/* oklch */ color: oklch(62.4% 0.014 208.7);
Tailwind
colors: {
  custom: {
    50: '#a3acad',
    500: '#7e8a8c',
    950: '#000000',
  },
}
SCSS
$custom: #7e8a8c;
$custom-light: #a3acad;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8a8c",
  "rgb": {
    "r": 126,
    "g": 138,
    "b": 140
  },
  "hsl": {
    "h": 188.571,
    "s": 5.738,
    "l": 52.157
  },
  "oklch": {
    "l": 0.62428,
    "c": 0.01436,
    "h": 208.7
  },
  "luminance": 0.24506
}

Semantic roles & 50–950 ramp

primary
#7E8A8C
secondary
#B6B1B0
accent
#8179AF
background
#FAFAFA
surface
#F3F4F4
border
#CDCECE
text
#0F1010
muted
#7F7F7F

Preview Lab

Preview with #7E8A8C

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

Preview Lab → · Contrast checker → · Palette generator →

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