#798181#798181

#798181 is a mid, near-neutral grey. Relative luminance 0.213; OKLCH L 59.7% C 0.010 H 196.9°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#798181
RGBrgb(121, 129, 129)
HSLhsl(180, 3%, 49%)
HSVhsv(180, 6%, 51%)
CMYKcmyk(6.2%, 0%, 0%, 49.4%)
CIE-LABlab(53.33, -2.95, -1.02)
CIE-LCHlch(53.33, 3.13, 199.08°)
OKLaboklab(59.66% -0.0091 -0.0028)
OKLCHoklch(59.66% 0.01 196.9)
XYZxyz(19.6970, 21.3502, 23.8479)
Luminance0.2135 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798181 #817979
analogous
#79817D #798181 #797D81
triadic
#798181 #817981 #818179
tetradic
#798181 #7D7981 #817979 #7D8179
square
#798181 #7D7981 #817979 #7D8179
split-complementary
#798181 #81797D #817D79
monochromatic
#3E4242 #5B6161 #798181 #989F9F #B8BCBC

Accessibility & contrast

On white

3.98
#798181 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#798181 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798181
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798181#FFFFFF#000000##000000
##7981811.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#808081
Deuteranopia (green-blind)
#7E7F81
Tritanopia (blue-blind)
#778281
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #798181;
/* rgb */ color: rgb(121, 129, 129);
/* oklch */ color: oklch(59.7% 0.010 196.9);
Tailwind
colors: {
  custom: {
    50: '#9fa5a5',
    500: '#798181',
    950: '#000000',
  },
}
SCSS
$custom: #798181;
$custom-light: #9fa5a5;
$custom-dark: #000000;
JSON
{
  "hex": "#798181",
  "rgb": {
    "r": 121,
    "g": 129,
    "b": 129
  },
  "hsl": {
    "h": 180,
    "s": 3.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.59656,
    "c": 0.00951,
    "h": 196.9
  },
  "luminance": 0.2135
}

Semantic roles & 50–950 ramp

primary
#798181
secondary
#ADA9A9
accent
#7B7BAC
background
#F9FAFA
surface
#F2F4F4
border
#CCCECE
text
#0E0F0F
muted
#7E7F7F

Preview Lab

Preview with #798181

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

Preview Lab → · Contrast checker → · Palette generator →

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