#7E847E#7E847E

#7E847E is a mid, near-neutral grey. Relative luminance 0.224; OKLCH L 60.6% C 0.011 H 145.4°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7E847E
RGBrgb(126, 132, 126)
HSLhsl(120, 2%, 51%)
HSVhsv(120, 5%, 52%)
CMYKcmyk(4.5%, 0%, 4.5%, 48.2%)
CIE-LABlab(54.50, -3.42, 2.47)
CIE-LCHlch(54.50, 4.22, 144.20°)
OKLaboklab(60.65% -0.0094 0.0065)
OKLCHoklch(60.65% 0.011 145.4)
XYZxyz(20.6207, 22.4444, 22.9805)
Luminance0.2245 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E847E #847E84
analogous
#81847E #7E847E #7E8481
triadic
#7E847E #7E7E84 #847E7E
tetradic
#7E847E #7E8184 #847E84 #84817E
square
#7E847E #7E8184 #847E84 #84817E
split-complementary
#7E847E #817E84 #847E81
monochromatic
#424542 #606560 #7E847E #9DA29D #BDC0BD

Accessibility & contrast

On white

3.83
#7E847E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#7E847E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E847E
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E847E#FFFFFF#000000##000000
##7E847E1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#84837E
Deuteranopia (green-blind)
#83827E
Tritanopia (blue-blind)
#7E8482
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7e847e;
/* rgb */ color: rgb(126, 132, 126);
/* oklch */ color: oklch(60.6% 0.011 145.4);
Tailwind
colors: {
  custom: {
    50: '#a3a7a3',
    500: '#7e847e',
    950: '#000000',
  },
}
SCSS
$custom: #7e847e;
$custom-light: #a3a7a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e847e",
  "rgb": {
    "r": 126,
    "g": 132,
    "b": 126
  },
  "hsl": {
    "h": 120,
    "s": 2.381,
    "l": 50.588
  },
  "oklch": {
    "l": 0.60645,
    "c": 0.01139,
    "h": 145.4
  },
  "luminance": 0.22445
}

Semantic roles & 50–950 ramp

primary
#7E847E
secondary
#B0AEB0
accent
#7CACAC
background
#FAFAFA
surface
#F3F4F3
border
#CDCECD
text
#0F0F0F
muted
#7F7F7F

Preview Lab

Preview with #7E847E

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

Preview Lab → · Contrast checker → · Palette generator →

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