#7E8A7C#7E8A7C

#7E8A7C is a mid, muted grey. Relative luminance 0.241; OKLCH L 61.9% C 0.025 H 141.2°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#7E8A7C
RGBrgb(126, 138, 124)
HSLhsl(111, 6%, 51%)
HSVhsv(111, 10%, 54%)
CMYKcmyk(8.7%, 0%, 10.1%, 45.9%)
CIE-LABlab(56.16, -7.17, 6.01)
CIE-LCHlch(56.16, 9.36, 140.01°)
OKLaboklab(61.94% -0.0195 0.0157)
OKLCHoklch(61.94% 0.025 141.2)
XYZxyz(21.3301, 24.0676, 22.5866)
Luminance0.2407 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8A7C #887C8A
analogous
#858A7C #7E8A7C #7C8A81
triadic
#7E8A7C #7C7E8A #8A7C7E
tetradic
#7E8A7C #7C858A #887C8A #8A817C
square
#7E8A7C #7C858A #887C8A #8A817C
split-complementary
#7E8A7C #817C8A #8A7C85
monochromatic
#434A42 #606A5F #7E8A7C #9EA79C #BEC4BD

Accessibility & contrast

On white

3.61
#7E8A7C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#7E8A7C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8A7C
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8A7C#FFFFFF#000000##000000
##7E8A7C1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B877B
Deuteranopia (green-blind)
#89867D
Tritanopia (blue-blind)
#7D8986
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7e8a7c;
/* rgb */ color: rgb(126, 138, 124);
/* oklch */ color: oklch(61.9% 0.025 141.2);
Tailwind
colors: {
  custom: {
    50: '#a3aca1',
    500: '#7e8a7c',
    950: '#000000',
  },
}
SCSS
$custom: #7e8a7c;
$custom-light: #a3aca1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8a7c",
  "rgb": {
    "r": 126,
    "g": 138,
    "b": 124
  },
  "hsl": {
    "h": 111.429,
    "s": 5.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.6194,
    "c": 0.02499,
    "h": 141.2
  },
  "luminance": 0.24068
}

Semantic roles & 50–950 ramp

primary
#7E8A7C
secondary
#B3AEB4
accent
#79AFA7
background
#FAFAF9
surface
#F3F4F2
border
#CDCECC
text
#0F100F
muted
#7F7F7E

Preview Lab

Preview with #7E8A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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