#797272#797272

#797272 is a mid, near-neutral grey. Relative luminance 0.173; OKLCH L 55.8% C 0.009 H 17.4°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#797272
RGBrgb(121, 114, 114)
HSLhsl(0, 3%, 46%)
HSVhsv(0, 6%, 47%)
CMYKcmyk(0%, 5.8%, 5.8%, 52.5%)
CIE-LABlab(48.65, 2.70, 0.97)
CIE-LCHlch(48.65, 2.87, 19.74°)
OKLaboklab(55.84% 0.0083 0.0026)
OKLCHoklch(55.84% 0.009 17.4)
XYZxyz(16.9394, 17.3146, 18.3660)
Luminance0.1731 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797272 #727979
analogous
#797275 #797272 #797572
triadic
#797272 #727972 #727279
tetradic
#797272 #757972 #727979 #757279
square
#797272 #757972 #727979 #757279
split-complementary
#797272 #727975 #727579
monochromatic
#3A3737 #595454 #797272 #979191 #B5B0B0

Accessibility & contrast

On white

4.71
#797272 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#797272 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797272
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797272#FFFFFF#000000##FFFFFF
##7972721.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737372
Deuteranopia (green-blind)
#757472
Tritanopia (blue-blind)
#7B7172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #797272;
/* rgb */ color: rgb(121, 114, 114);
/* oklch */ color: oklch(55.8% 0.009 17.4);
Tailwind
colors: {
  custom: {
    50: '#9f9a9a',
    500: '#797272',
    950: '#000000',
  },
}
SCSS
$custom: #797272;
$custom-light: #9f9a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#797272",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 114
  },
  "hsl": {
    "h": 0,
    "s": 2.979,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55838,
    "c": 0.00869,
    "h": 17.4
  },
  "luminance": 0.17314
}

Semantic roles & 50–950 ramp

primary
#797272
secondary
#A1A5A5
accent
#ACAC7C
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E

Preview Lab

Preview with #797272

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

Preview Lab → · Contrast checker → · Palette generator →

#797272 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva