#7E8A8D#7E8A8D

#7E8A8D is a light, near-neutral grey. Relative luminance 0.245; OKLCH L 62.5% C 0.015 H 214.4°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#7E8A8D
RGBrgb(126, 138, 141)
HSLhsl(192, 6%, 52%)
HSVhsv(192, 11%, 55%)
CMYKcmyk(10.6%, 2.1%, 0%, 44.7%)
CIE-LABlab(56.62, -3.72, -3.09)
CIE-LCHlch(56.62, 4.84, 219.78°)
OKLaboklab(62.46% -0.0122 -0.0083)
OKLCHoklch(62.46% 0.015 214.4)
XYZxyz(22.4993, 24.5353, 28.7445)
Luminance0.2454 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8A8D #8D817E
analogous
#7E8D89 #7E8A8D #7E838D
triadic
#7E8A8D #8D7E8A #8A8D7E
tetradic
#7E8A8D #897E8D #8D817E #838D7E
square
#7E8A8D #897E8D #8D817E #838D7E
split-complementary
#7E8A8D #8D7E83 #8D897E
monochromatic
#444B4D #616B6D #7E8A8D #9EA7AA #BFC5C6

Accessibility & contrast

On white

3.55
#7E8A8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#7E8A8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8A8D
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8A8D#FFFFFF#000000##000000
##7E8A8D1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e8a8d;
/* rgb */ color: rgb(126, 138, 141);
/* oklch */ color: oklch(62.5% 0.015 214.4);
Tailwind
colors: {
  custom: {
    50: '#a3acae',
    500: '#7e8a8d',
    950: '#000000',
  },
}
SCSS
$custom: #7e8a8d;
$custom-light: #a3acae;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8a8d",
  "rgb": {
    "r": 126,
    "g": 138,
    "b": 141
  },
  "hsl": {
    "h": 192,
    "s": 6.173,
    "l": 52.353
  },
  "oklch": {
    "l": 0.62461,
    "c": 0.01475,
    "h": 214.4
  },
  "luminance": 0.24536
}

Semantic roles & 50–950 ramp

primary
#7E8A8D
secondary
#B7B1B0
accent
#8379AF
background
#FAFAFA
surface
#F3F4F4
border
#CDCECE
text
#0F1010
muted
#7F7F7F

Preview Lab

Preview with #7E8A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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