#7E807C#7E807C

#7E807C is a mid, near-neutral grey. Relative luminance 0.213; OKLCH L 59.7% C 0.006 H 128.6°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7E807C
RGBrgb(126, 128, 124)
HSLhsl(90, 2%, 49%)
HSVhsv(90, 3%, 50%)
CMYKcmyk(1.6%, 0%, 3.1%, 49.8%)
CIE-LABlab(53.31, -1.54, 1.91)
CIE-LCHlch(53.31, 2.45, 128.94°)
OKLaboklab(59.69% -0.004 0.005)
OKLCHoklch(59.69% 0.006 128.6)
XYZxyz(19.9608, 21.3292, 22.1302)
Luminance0.2133 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E807C #7E7C80
analogous
#80807C #7E807C #7C807C
triadic
#7E807C #7C7E80 #807C7E
tetradic
#7E807C #7C8080 #7E7C80 #807C7C
square
#7E807C #7C8080 #7E7C80 #807C7C
split-complementary
#7E807C #7C7C80 #807C80
monochromatic
#414240 #5F615E #7E807C #9D9E9B #BBBCBA

Accessibility & contrast

On white

3.99
#7E807C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#7E807C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E807C
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E807C#FFFFFF#000000##000000
##7E807C1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#817F7C
Deuteranopia (green-blind)
#807F7C
Tritanopia (blue-blind)
#7E807F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7e807c;
/* rgb */ color: rgb(126, 128, 124);
/* oklch */ color: oklch(59.7% 0.006 128.6);
Tailwind
colors: {
  custom: {
    50: '#a3a4a1',
    500: '#7e807c',
    950: '#000000',
  },
}
SCSS
$custom: #7e807c;
$custom-light: #a3a4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e807c",
  "rgb": {
    "r": 126,
    "g": 128,
    "b": 124
  },
  "hsl": {
    "h": 90,
    "s": 1.587,
    "l": 49.412
  },
  "oklch": {
    "l": 0.59691,
    "c": 0.00641,
    "h": 128.6
  },
  "luminance": 0.21329
}

Semantic roles & 50–950 ramp

primary
#7E807C
secondary
#ACABAD
accent
#7DAB94
background
#FAFAF9
surface
#F3F4F2
border
#CDCECC
text
#0F0F0F
muted
#7F7F7E

Preview Lab

Preview with #7E807C

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

Preview Lab → · Contrast checker → · Palette generator →

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