#7E8282#7E8282

#7E8282 is a mid, near-neutral grey. Relative luminance 0.220; OKLCH L 60.3% C 0.005 H 197.0°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7E8282
RGBrgb(126, 130, 130)
HSLhsl(180, 2%, 50%)
HSVhsv(180, 3%, 51%)
CMYKcmyk(3.1%, 0%, 0%, 49%)
CIE-LABlab(54.04, -1.48, -0.52)
CIE-LCHlch(54.04, 1.57, 199.24°)
OKLaboklab(60.32% -0.0046 -0.0014)
OKLCHoklch(60.32% 0.005 197)
XYZxyz(20.6153, 22.0125, 24.2775)
Luminance0.2201 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8282 #827E7E
analogous
#7E8280 #7E8282 #7E8082
triadic
#7E8282 #827E82 #82827E
tetradic
#7E8282 #807E82 #827E7E #80827E
square
#7E8282 #807E82 #827E7E #80827E
split-complementary
#7E8282 #827E80 #82807E
monochromatic
#424444 #606363 #7E8282 #9DA0A0 #BCBEBE

Accessibility & contrast

On white

3.89
#7E8282 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#7E8282 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8282
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8282#FFFFFF#000000##000000
##7E82821.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#818282
Deuteranopia (green-blind)
#818182
Tritanopia (blue-blind)
#7D8282
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7e8282;
/* rgb */ color: rgb(126, 130, 130);
/* oklch */ color: oklch(60.3% 0.005 197.0);
Tailwind
colors: {
  custom: {
    50: '#a3a6a6',
    500: '#7e8282',
    950: '#000000',
  },
}
SCSS
$custom: #7e8282;
$custom-light: #a3a6a6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8282",
  "rgb": {
    "r": 126,
    "g": 130,
    "b": 130
  },
  "hsl": {
    "h": 180,
    "s": 1.575,
    "l": 50.196
  },
  "oklch": {
    "l": 0.60323,
    "c": 0.00478,
    "h": 197
  },
  "luminance": 0.22013
}

Semantic roles & 50–950 ramp

primary
#7E8282
secondary
#AFADAD
accent
#7D7DAB
background
#FAFAFA
surface
#F3F4F4
border
#CDCECE
text
#0F0F0F
muted
#7F7F7F

Preview Lab

Preview with #7E8282

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

Preview Lab → · Contrast checker → · Palette generator →

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