#7E7C82#7E7C82

#7E7C82 is a mid, near-neutral grey. Relative luminance 0.205; OKLCH L 59.0% C 0.009 H 301.2°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7E7C82
RGBrgb(126, 124, 130)
HSLhsl(260, 2%, 50%)
HSVhsv(260, 5%, 51%)
CMYKcmyk(3.1%, 4.6%, 0%, 49%)
CIE-LABlab(52.36, 1.96, -2.99)
CIE-LCHlch(52.36, 3.58, 303.29°)
OKLaboklab(59% 0.0048 -0.0079)
OKLCHoklch(59% 0.009 301.2)
XYZxyz(19.8404, 20.4626, 24.0192)
Luminance0.2046 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7C82 #80827C
analogous
#7C7D82 #7E7C82 #817C82
triadic
#7E7C82 #827E7C #7C827E
tetradic
#7E7C82 #827C7D #80827C #7C8281
square
#7E7C82 #827C7D #80827C #7C8281
split-complementary
#7E7C82 #82817C #7D827C
monochromatic
#414043 #605E63 #7E7C82 #9D9BA0 #BCBBBE

Accessibility & contrast

On white

4.12
#7E7C82 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#7E7C82 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7C82
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7C82#FFFFFF#000000##000000
##7E7C821.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B7D82
Deuteranopia (green-blind)
#7B7D82
Tritanopia (blue-blind)
#7D7D7E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7e7c82;
/* rgb */ color: rgb(126, 124, 130);
/* oklch */ color: oklch(59.0% 0.009 301.2);
Tailwind
colors: {
  custom: {
    50: '#a3a1a6',
    500: '#7e7c82',
    950: '#000000',
  },
}
SCSS
$custom: #7e7c82;
$custom-light: #a3a1a6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7c82",
  "rgb": {
    "r": 126,
    "g": 124,
    "b": 130
  },
  "hsl": {
    "h": 260,
    "s": 2.362,
    "l": 49.804
  },
  "oklch": {
    "l": 0.59001,
    "c": 0.0093,
    "h": 301.2
  },
  "luminance": 0.20463
}

Semantic roles & 50–950 ramp

primary
#7E7C82
secondary
#ADAEAC
accent
#AC7C9C
background
#FAF9FA
surface
#F3F2F4
border
#CDCCCE
text
#0F0F0F
muted
#7F7E7F

Preview Lab

Preview with #7E7C82

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

Preview Lab → · Contrast checker → · Palette generator →

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