#797378#797378

#797378 is a mid, near-neutral grey. Relative luminance 0.177; OKLCH L 56.3% C 0.011 H 331.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#797378
RGBrgb(121, 115, 120)
HSLhsl(310, 3%, 46%)
HSVhsv(310, 5%, 47%)
CMYKcmyk(0%, 5%, 0.8%, 52.5%)
CIE-LABlab(49.11, 3.29, -1.93)
CIE-LCHlch(49.11, 3.82, 329.68°)
OKLaboklab(56.25% 0.0092 -0.0051)
OKLCHoklch(56.25% 0.011 331.1)
XYZxyz(17.4056, 17.6826, 20.2618)
Luminance0.1768 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797378 #737974
analogous
#777379 #797378 #797375
triadic
#797378 #787973 #737879
tetradic
#797378 #797773 #737974 #737579
square
#797378 #797773 #737974 #737579
split-complementary
#797378 #757973 #737977
monochromatic
#3A373A #5A5559 #797378 #979296 #B5B1B4

Accessibility & contrast

On white

4.63
#797378 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#797378 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #797378
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797378#FFFFFF#000000##FFFFFF
##7973781.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737478
Deuteranopia (green-blind)
#747578
Tritanopia (blue-blind)
#7A7375
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #797378;
/* rgb */ color: rgb(121, 115, 120);
/* oklch */ color: oklch(56.3% 0.011 331.1);
Tailwind
colors: {
  custom: {
    50: '#9f9b9f',
    500: '#797378',
    950: '#000000',
  },
}
SCSS
$custom: #797378;
$custom-light: #9f9b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#797378",
  "rgb": {
    "r": 121,
    "g": 115,
    "b": 120
  },
  "hsl": {
    "h": 310,
    "s": 2.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56252,
    "c": 0.0105,
    "h": 331.1
  },
  "luminance": 0.17682
}

Semantic roles & 50–950 ramp

primary
#797378
secondary
#A2A6A3
accent
#AC847C
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E

Preview Lab

Preview with #797378

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

Preview Lab → · Contrast checker → · Palette generator →

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