#797282#797282

#797282 is a mid, muted grey. Relative luminance 0.177; OKLCH L 56.4% C 0.026 H 305.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#797282
RGBrgb(121, 114, 130)
HSLhsl(266, 7%, 48%)
HSVhsv(266, 12%, 51%)
CMYKcmyk(6.9%, 12.3%, 0%, 49%)
CIE-LABlab(49.14, 5.97, -7.80)
CIE-LCHlch(49.14, 9.82, 307.43°)
OKLaboklab(56.38% 0.0148 -0.0209)
OKLCHoklch(56.38% 0.026 305.3)
XYZxyz(17.9310, 17.7113, 23.5887)
Luminance0.1771 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797282 #7B8272
analogous
#727382 #797282 #817282
triadic
#797282 #827972 #728279
tetradic
#797282 #827273 #7B8272 #728281
square
#797282 #827273 #7B8272 #728281
split-complementary
#797282 #828172 #738272
monochromatic
#3C3941 #5B5561 #797282 #98929F #B7B2BC

Accessibility & contrast

On white

4.62
#797282 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #797282
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797282#FFFFFF#000000##FFFFFF
##7972821.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#707583
Deuteranopia (green-blind)
#717581
Tritanopia (blue-blind)
#787477
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #797282;
/* rgb */ color: rgb(121, 114, 130);
/* oklch */ color: oklch(56.4% 0.026 305.3);
Tailwind
colors: {
  custom: {
    50: '#9f9aa6',
    500: '#797282',
    950: '#000000',
  },
}
SCSS
$custom: #797282;
$custom-light: #9f9aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#797282",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 130
  },
  "hsl": {
    "h": 266.25,
    "s": 6.557,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56384,
    "c": 0.02567,
    "h": 305.3
  },
  "luminance": 0.17711
}

Semantic roles & 50–950 ramp

primary
#797282
secondary
#A8ACA4
accent
#B07897
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E0F
muted
#7E7E7F

Preview Lab

Preview with #797282

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

Preview Lab → · Contrast checker → · Palette generator →

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