#78727E#78727E

#78727E is a mid, near-neutral grey. Relative luminance 0.175; OKLCH L 56.1% C 0.020 H 308.1°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#78727E
RGBrgb(120, 114, 126)
HSLhsl(270, 5%, 47%)
HSVhsv(270, 10%, 49%)
CMYKcmyk(4.8%, 9.5%, 0%, 50.6%)
CIE-LABlab(48.93, 4.75, -5.76)
CIE-LCHlch(48.93, 7.47, 309.47°)
OKLaboklab(56.15% 0.0121 -0.0154)
OKLCHoklch(56.15% 0.02 308.1)
XYZxyz(17.5283, 17.5341, 22.1956)
Luminance0.1753 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78727E #787E72
analogous
#72727E #78727E #7E727E
triadic
#78727E #7E7872 #727E78
tetradic
#78727E #7E7272 #787E72 #727E7E
square
#78727E #7E7272 #787E72 #727E7E
split-complementary
#78727E #7E7E72 #727E72
monochromatic
#3B383E #59555E #78727E #97919C #B5B2B9

Accessibility & contrast

On white

4.66
#78727E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#78727E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #78727E
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78727E#FFFFFF#000000##FFFFFF
##78727E1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70747F
Deuteranopia (green-blind)
#71747E
Tritanopia (blue-blind)
#777376
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #78727e;
/* rgb */ color: rgb(120, 114, 126);
/* oklch */ color: oklch(56.1% 0.020 308.1);
Tailwind
colors: {
  custom: {
    50: '#9f9aa3',
    500: '#78727e',
    950: '#000000',
  },
}
SCSS
$custom: #78727e;
$custom-light: #9f9aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#78727e",
  "rgb": {
    "r": 120,
    "g": 114,
    "b": 126
  },
  "hsl": {
    "h": 270,
    "s": 5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56149,
    "c": 0.01957,
    "h": 308.1
  },
  "luminance": 0.17534
}

Semantic roles & 50–950 ramp

primary
#78727E
secondary
#A6A9A3
accent
#AE7A94
background
#F9F9FA
surface
#F2F2F3
border
#CCCCCD
text
#0E0E0F
muted
#7E7E7F

Preview Lab

Preview with #78727E

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

Preview Lab → · Contrast checker → · Palette generator →

#78727E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva