#798281#798281

#798281 is a mid, near-neutral grey. Relative luminance 0.216; OKLCH L 59.9% C 0.011 H 188.9°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#798281
RGBrgb(121, 130, 129)
HSLhsl(173, 4%, 49%)
HSVhsv(173, 7%, 51%)
CMYKcmyk(6.9%, 0%, 0.8%, 49%)
CIE-LABlab(53.62, -3.52, -0.60)
CIE-LCHlch(53.62, 3.57, 189.73°)
OKLaboklab(59.88% -0.0106 -0.0017)
OKLCHoklch(59.88% 0.011 188.9)
XYZxyz(19.8294, 21.6150, 23.8920)
Luminance0.2162 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798281 #82797A
analogous
#79827D #798281 #797F82
triadic
#798281 #817982 #828179
tetradic
#798281 #7D7982 #82797A #7F8279
square
#798281 #7D7982 #82797A #7F8279
split-complementary
#798281 #82797F #827D79
monochromatic
#3E4342 #5B6262 #798281 #99A09F #B8BDBD

Accessibility & contrast

On white

3.95
#798281 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#798281 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798281
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798281#FFFFFF#000000##000000
##7982811.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#818181
Deuteranopia (green-blind)
#7F8081
Tritanopia (blue-blind)
#778382
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #798281;
/* rgb */ color: rgb(121, 130, 129);
/* oklch */ color: oklch(59.9% 0.011 188.9);
Tailwind
colors: {
  custom: {
    50: '#9fa6a5',
    500: '#798281',
    950: '#000000',
  },
}
SCSS
$custom: #798281;
$custom-light: #9fa6a5;
$custom-dark: #000000;
JSON
{
  "hex": "#798281",
  "rgb": {
    "r": 121,
    "g": 130,
    "b": 129
  },
  "hsl": {
    "h": 173.333,
    "s": 3.586,
    "l": 49.216
  },
  "oklch": {
    "l": 0.59881,
    "c": 0.01077,
    "h": 188.9
  },
  "luminance": 0.21615
}

Semantic roles & 50–950 ramp

primary
#798281
secondary
#ADA9AA
accent
#7B81AD
background
#F9FAFA
surface
#F2F4F4
border
#CCCECE
text
#0E0F0F
muted
#7E7F7F

Preview Lab

Preview with #798281

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

Preview Lab → · Contrast checker → · Palette generator →

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