#7E727E#7E727E

#7E727E is a mid, muted grey. Relative luminance 0.180; OKLCH L 56.7% C 0.023 H 325.9°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7E727E
RGBrgb(126, 114, 126)
HSLhsl(300, 5%, 47%)
HSVhsv(300, 10%, 49%)
CMYKcmyk(0%, 9.5%, 0%, 50.6%)
CIE-LABlab(49.47, 6.99, -4.90)
CIE-LCHlch(49.47, 8.53, 324.94°)
OKLaboklab(56.7% 0.0192 -0.013)
OKLCHoklch(56.7% 0.023 325.9)
XYZxyz(18.3869, 17.9768, 22.2359)
Luminance0.1798 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E727E #727E72
analogous
#78727E #7E727E #7E7278
triadic
#7E727E #7E7E72 #727E7E
tetradic
#7E727E #7E7872 #727E72 #72787E
square
#7E727E #7E7872 #727E72 #72787E
split-complementary
#7E727E #787E72 #727E78
monochromatic
#3E383E #5E555E #7E727E #9C919C #B9B2B9

Accessibility & contrast

On white

4.57
#7E727E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#7E727E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E727E
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E727E#FFFFFF#000000##000000
##7E727E1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#71757F
Deuteranopia (green-blind)
#74767E
Tritanopia (blue-blind)
#7F7376
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7e727e;
/* rgb */ color: rgb(126, 114, 126);
/* oklch */ color: oklch(56.7% 0.023 325.9);
Tailwind
colors: {
  custom: {
    50: '#a39aa3',
    500: '#7e727e',
    950: '#000000',
  },
}
SCSS
$custom: #7e727e;
$custom-light: #a39aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e727e",
  "rgb": {
    "r": 126,
    "g": 114,
    "b": 126
  },
  "hsl": {
    "h": 300,
    "s": 5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56703,
    "c": 0.02321,
    "h": 325.9
  },
  "luminance": 0.17977
}

Semantic roles & 50–950 ramp

primary
#7E727E
secondary
#A3A9A3
accent
#AE7A7A
background
#FAF9FA
surface
#F3F2F3
border
#CDCCCD
text
#0F0E0F
muted
#7F7E7F

Preview Lab

Preview with #7E727E

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

Preview Lab → · Contrast checker → · Palette generator →

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