#7E8082#7E8082

#7E8082 is a mid, near-neutral grey. Relative luminance 0.215; OKLCH L 59.9% C 0.004 H 248.0°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#7E8082
RGBrgb(126, 128, 130)
HSLhsl(210, 2%, 50%)
HSVhsv(210, 3%, 51%)
CMYKcmyk(3.1%, 1.5%, 0%, 49%)
CIE-LABlab(53.48, -0.34, -1.34)
CIE-LCHlch(53.48, 1.39, 255.78°)
OKLaboklab(59.88% -0.0014 -0.0036)
OKLCHoklch(59.88% 0.004 248)
XYZxyz(20.3519, 21.4856, 24.1897)
Luminance0.2149 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8082 #82807E
analogous
#7E8282 #7E8082 #7E7E82
triadic
#7E8082 #827E80 #80827E
tetradic
#7E8082 #827E82 #82807E #7E827E
square
#7E8082 #827E82 #82807E #7E827E
split-complementary
#7E8082 #827E7E #82827E
monochromatic
#424344 #606163 #7E8082 #9D9FA0 #BCBDBE

Accessibility & contrast

On white

3.96
#7E8082 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#7E8082 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8082
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8082#FFFFFF#000000##000000
##7E80821.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8082
Deuteranopia (green-blind)
#7F8082
Tritanopia (blue-blind)
#7D8081
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7e8082;
/* rgb */ color: rgb(126, 128, 130);
/* oklch */ color: oklch(59.9% 0.004 248.0);
Tailwind
colors: {
  custom: {
    50: '#a3a4a6',
    500: '#7e8082',
    950: '#000000',
  },
}
SCSS
$custom: #7e8082;
$custom-light: #a3a4a6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8082",
  "rgb": {
    "r": 126,
    "g": 128,
    "b": 130
  },
  "hsl": {
    "h": 210,
    "s": 1.575,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5988,
    "c": 0.00386,
    "h": 248
  },
  "luminance": 0.21486
}

Semantic roles & 50–950 ramp

primary
#7E8082
secondary
#AFAEAD
accent
#947DAB
background
#FAFAFA
surface
#F3F4F4
border
#CDCECE
text
#0F0F0F
muted
#7F7F7F

Preview Lab

Preview with #7E8082

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

Preview Lab → · Contrast checker → · Palette generator →

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