#7E727A#7E727A

#7E727A is a mid, near-neutral grey. Relative luminance 0.179; OKLCH L 56.6% C 0.019 H 337.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7E727A
RGBrgb(126, 114, 122)
HSLhsl(320, 5%, 47%)
HSVhsv(320, 10%, 49%)
CMYKcmyk(0%, 9.5%, 3.2%, 50.6%)
CIE-LABlab(49.34, 6.18, -2.71)
CIE-LCHlch(49.34, 6.75, 336.31°)
OKLaboklab(56.57% 0.0176 -0.0071)
OKLCHoklch(56.57% 0.019 337.9)
XYZxyz(18.1339, 17.8756, 20.9036)
Luminance0.1787 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E727A #727E76
analogous
#7C727E #7E727A #7E7274
triadic
#7E727A #7A7E72 #727A7E
tetradic
#7E727A #7E7C72 #727E76 #72747E
square
#7E727A #7E7C72 #727E76 #72747E
split-complementary
#7E727A #747E72 #727E7C
monochromatic
#3E383C #5E555B #7E727A #9C9198 #B9B2B6

Accessibility & contrast

On white

4.59
#7E727A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#7E727A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7E727A
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E727A#FFFFFF#000000##FFFFFF
##7E727A1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72747A
Deuteranopia (green-blind)
#75767A
Tritanopia (blue-blind)
#807275
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7e727a;
/* rgb */ color: rgb(126, 114, 122);
/* oklch */ color: oklch(56.6% 0.019 337.9);
Tailwind
colors: {
  custom: {
    50: '#a39aa0',
    500: '#7e727a',
    950: '#000000',
  },
}
SCSS
$custom: #7e727a;
$custom-light: #a39aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e727a",
  "rgb": {
    "r": 126,
    "g": 114,
    "b": 122
  },
  "hsl": {
    "h": 320,
    "s": 5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56566,
    "c": 0.01899,
    "h": 337.9
  },
  "luminance": 0.17875
}

Semantic roles & 50–950 ramp

primary
#7E727A
secondary
#A3A9A5
accent
#AE8B7A
background
#FAF9F9
surface
#F3F2F2
border
#CDCCCC
text
#0F0E0E
muted
#7F7E7E

Preview Lab

Preview with #7E727A

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

Preview Lab → · Contrast checker → · Palette generator →

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