#7E8A85#7E8A85

#7E8A85 is a light, near-neutral grey. Relative luminance 0.243; OKLCH L 62.2% C 0.016 H 168.9°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#7E8A85
RGBrgb(126, 138, 133)
HSLhsl(155, 5%, 52%)
HSVhsv(155, 9%, 54%)
CMYKcmyk(8.7%, 0%, 3.6%, 45.9%)
CIE-LABlab(56.39, -5.39, 1.18)
CIE-LCHlch(56.39, 5.52, 167.66°)
OKLaboklab(62.21% -0.0155 0.003)
OKLCHoklch(62.21% 0.016 168.9)
XYZxyz(21.9254, 24.3058, 25.7221)
Luminance0.2431 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8A85 #8A7E83
analogous
#7E8A7F #7E8A85 #7E898A
triadic
#7E8A85 #857E8A #8A857E
tetradic
#7E8A85 #7F7E8A #8A7E83 #898A7E
square
#7E8A85 #7F7E8A #8A7E83 #898A7E
split-complementary
#7E8A85 #8A7E89 #8A7F7E
monochromatic
#434A47 #606A66 #7E8A85 #9EA7A3 #BEC4C2

Accessibility & contrast

On white

3.58
#7E8A85 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#7E8A85 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8A85
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8A85#FFFFFF#000000##000000
##7E8A851.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#898885
Deuteranopia (green-blind)
#878785
Tritanopia (blue-blind)
#7C8A88
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7e8a85;
/* rgb */ color: rgb(126, 138, 133);
/* oklch */ color: oklch(62.2% 0.016 168.9);
Tailwind
colors: {
  custom: {
    50: '#a3aca8',
    500: '#7e8a85',
    950: '#000000',
  },
}
SCSS
$custom: #7e8a85;
$custom-light: #a3aca8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8a85",
  "rgb": {
    "r": 126,
    "g": 138,
    "b": 133
  },
  "hsl": {
    "h": 155,
    "s": 4.878,
    "l": 51.765
  },
  "oklch": {
    "l": 0.62207,
    "c": 0.01584,
    "h": 168.9
  },
  "luminance": 0.24306
}

Semantic roles & 50–950 ramp

primary
#7E8A85
secondary
#B5AFB1
accent
#7A90AE
background
#FAFAFA
surface
#F3F4F4
border
#CDCECE
text
#0F100F
muted
#7F7F7F

Preview Lab

Preview with #7E8A85

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

Preview Lab → · Contrast checker → · Palette generator →

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