#797481#797481

#797481 is a mid, muted grey. Relative luminance 0.181; OKLCH L 56.8% C 0.021 H 303.1°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#797481
RGBrgb(121, 116, 129)
HSLhsl(263, 5%, 48%)
HSVhsv(263, 10%, 51%)
CMYKcmyk(6.2%, 10.1%, 0%, 49.4%)
CIE-LABlab(49.67, 4.58, -6.43)
CIE-LCHlch(49.67, 7.89, 305.44°)
OKLaboklab(56.78% 0.0113 -0.0172)
OKLCHoklch(56.78% 0.021 303.1)
XYZxyz(18.0923, 18.1407, 23.3130)
Luminance0.1814 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797481 #7C8174
analogous
#747581 #797481 #7F7481
triadic
#797481 #817974 #748179
tetradic
#797481 #817475 #7C8174 #74817F
square
#797481 #817475 #7C8174 #74817F
split-complementary
#797481 #817F74 #758174
monochromatic
#3D3A41 #5B5761 #797481 #98949F #B7B4BB

Accessibility & contrast

On white

4.54
#797481 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#797481 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797481
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797481#FFFFFF#000000##000000
##7974811.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#727682
Deuteranopia (green-blind)
#737681
Tritanopia (blue-blind)
#787678
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #797481;
/* rgb */ color: rgb(121, 116, 129);
/* oklch */ color: oklch(56.8% 0.021 303.1);
Tailwind
colors: {
  custom: {
    50: '#9f9ca5',
    500: '#797481',
    950: '#000000',
  },
}
SCSS
$custom: #797481;
$custom-light: #9f9ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#797481",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 129
  },
  "hsl": {
    "h": 263.077,
    "s": 5.306,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5678,
    "c": 0.02058,
    "h": 303.1
  },
  "luminance": 0.18141
}

Semantic roles & 50–950 ramp

primary
#797481
secondary
#A9ACA5
accent
#AE799A
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E0F
muted
#7E7E7F

Preview Lab

Preview with #797481

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

Preview Lab → · Contrast checker → · Palette generator →

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