#7E8A87#7E8A87

#7E8A87 is a light, near-neutral grey. Relative luminance 0.244; OKLCH L 62.3% C 0.015 H 179.2°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#7E8A87
RGBrgb(126, 138, 135)
HSLhsl(165, 5%, 52%)
HSVhsv(165, 9%, 54%)
CMYKcmyk(8.7%, 0%, 2.2%, 45.9%)
CIE-LABlab(56.45, -4.98, 0.11)
CIE-LCHlch(56.45, 4.98, 178.76°)
OKLaboklab(62.27% -0.0147 0.0002)
OKLCHoklch(62.27% 0.015 179.2)
XYZxyz(22.0649, 24.3615, 26.4567)
Luminance0.2436 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8A87 #8A7E81
analogous
#7E8A81 #7E8A87 #7E878A
triadic
#7E8A87 #877E8A #8A877E
tetradic
#7E8A87 #817E8A #8A7E81 #878A7E
square
#7E8A87 #817E8A #8A7E81 #878A7E
split-complementary
#7E8A87 #8A7E87 #8A817E
monochromatic
#434A49 #606A68 #7E8A87 #9EA7A5 #BEC4C3

Accessibility & contrast

On white

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

On black

5.87
#7E8A87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8A87
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8A87#FFFFFF#000000##000000
##7E8A871.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#898887
Deuteranopia (green-blind)
#868787
Tritanopia (blue-blind)
#7B8A89
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7e8a87;
/* rgb */ color: rgb(126, 138, 135);
/* oklch */ color: oklch(62.3% 0.015 179.2);
Tailwind
colors: {
  custom: {
    50: '#a3aca9',
    500: '#7e8a87',
    950: '#000000',
  },
}
SCSS
$custom: #7e8a87;
$custom-light: #a3aca9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8a87",
  "rgb": {
    "r": 126,
    "g": 138,
    "b": 135
  },
  "hsl": {
    "h": 165,
    "s": 4.878,
    "l": 51.765
  },
  "oklch": {
    "l": 0.62269,
    "c": 0.0147,
    "h": 179.2
  },
  "luminance": 0.24362
}

Semantic roles & 50–950 ramp

primary
#7E8A87
secondary
#B5AFB1
accent
#7A87AE
background
#FAFAFA
surface
#F3F4F4
border
#CDCECE
text
#0F1010
muted
#7F7F7F

Preview Lab

Preview with #7E8A87

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

Preview Lab → · Contrast checker → · Palette generator →

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