#787481#787481

#787481 is a mid, muted grey. Relative luminance 0.181; OKLCH L 56.7% C 0.020 H 299.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#787481
RGBrgb(120, 116, 129)
HSLhsl(258, 5%, 48%)
HSVhsv(258, 10%, 51%)
CMYKcmyk(7%, 10.1%, 0%, 49.4%)
CIE-LABlab(49.58, 4.21, -6.57)
CIE-LCHlch(49.58, 7.80, 302.66°)
OKLaboklab(56.69% 0.0101 -0.0176)
OKLCHoklch(56.69% 0.02 299.8)
XYZxyz(17.9528, 18.0688, 23.3065)
Luminance0.1807 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787481 #7D8174
analogous
#747681 #787481 #7E7481
triadic
#787481 #817874 #748178
tetradic
#787481 #817476 #7D8174 #74817E
square
#787481 #817476 #7D8174 #74817E
split-complementary
#787481 #817E74 #768174
monochromatic
#3C3A41 #5A5761 #787481 #97949F #B6B4BB

Accessibility & contrast

On white

4.55
#787481 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#787481 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787481
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787481#FFFFFF#000000##000000
##7874811.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #787481;
/* rgb */ color: rgb(120, 116, 129);
/* oklch */ color: oklch(56.7% 0.020 299.8);
Tailwind
colors: {
  custom: {
    50: '#9f9ca5',
    500: '#787481',
    950: '#000000',
  },
}
SCSS
$custom: #787481;
$custom-light: #9f9ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#787481",
  "rgb": {
    "r": 120,
    "g": 116,
    "b": 129
  },
  "hsl": {
    "h": 258.462,
    "s": 5.306,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56691,
    "c": 0.02029,
    "h": 299.8
  },
  "luminance": 0.18069
}

Semantic roles & 50–950 ramp

primary
#787481
secondary
#AAACA5
accent
#AE799E
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E0F
muted
#7E7E7F

Preview Lab

Preview with #787481

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

Preview Lab → · Contrast checker → · Palette generator →

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