#797175#797175

#797175 is a mid, near-neutral grey. Relative luminance 0.172; OKLCH L 55.7% C 0.012 H 345.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#797175
RGBrgb(121, 113, 117)
HSLhsl(330, 3%, 46%)
HSVhsv(330, 7%, 47%)
CMYKcmyk(0%, 6.6%, 3.3%, 52.5%)
CIE-LABlab(48.46, 3.87, -1.10)
CIE-LCHlch(48.46, 4.02, 344.17°)
OKLaboklab(55.72% 0.0112 -0.0029)
OKLCHoklch(55.72% 0.012 345.7)
XYZxyz(17.0007, 17.1597, 19.2427)
Luminance0.1716 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797175 #717975
analogous
#797179 #797175 #797171
triadic
#797175 #757971 #717579
tetradic
#797175 #797971 #717975 #717179
square
#797175 #797971 #717975 #717179
split-complementary
#797175 #717971 #717979
monochromatic
#3A3638 #595356 #797175 #979094 #B5B0B2

Accessibility & contrast

On white

4.74
#797175 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#797175 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797175
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797175#FFFFFF#000000##FFFFFF
##7971751.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#717275
Deuteranopia (green-blind)
#737375
Tritanopia (blue-blind)
#7A7172
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #797175;
/* rgb */ color: rgb(121, 113, 117);
/* oklch */ color: oklch(55.7% 0.012 345.7);
Tailwind
colors: {
  custom: {
    50: '#9f999c',
    500: '#797175',
    950: '#000000',
  },
}
SCSS
$custom: #797175;
$custom-light: #9f999c;
$custom-dark: #000000;
JSON
{
  "hex": "#797175",
  "rgb": {
    "r": 121,
    "g": 113,
    "b": 117
  },
  "hsl": {
    "h": 330,
    "s": 3.419,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55716,
    "c": 0.01155,
    "h": 345.7
  },
  "luminance": 0.1716
}

Semantic roles & 50–950 ramp

primary
#797175
secondary
#A1A5A3
accent
#AD947B
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E

Preview Lab

Preview with #797175

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

Preview Lab → · Contrast checker → · Palette generator →

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