#787280#787280

#787280 is a mid, muted grey. Relative luminance 0.176; OKLCH L 56.2% C 0.022 H 305.0°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#787280
RGBrgb(120, 114, 128)
HSLhsl(266, 6%, 47%)
HSVhsv(266, 11%, 50%)
CMYKcmyk(6.3%, 10.9%, 0%, 49.8%)
CIE-LABlab(48.99, 5.17, -6.86)
CIE-LCHlch(48.99, 8.59, 307.05°)
OKLaboklab(56.22% 0.0129 -0.0184)
OKLCHoklch(56.22% 0.022 305)
XYZxyz(17.6586, 17.5862, 22.8821)
Luminance0.1759 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787280 #7A8072
analogous
#727380 #787280 #7F7280
triadic
#787280 #807872 #728078
tetradic
#787280 #807273 #7A8072 #72807F
square
#787280 #807273 #7A8072 #72807F
split-complementary
#787280 #807F72 #738072
monochromatic
#3B383F #5A5560 #787280 #97929E #B6B2BA

Accessibility & contrast

On white

4.65
#787280 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#787280 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #787280
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787280#FFFFFF#000000##FFFFFF
##7872801.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#707481
Deuteranopia (green-blind)
#717480
Tritanopia (blue-blind)
#777477
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #787280;
/* rgb */ color: rgb(120, 114, 128);
/* oklch */ color: oklch(56.2% 0.022 305.0);
Tailwind
colors: {
  custom: {
    50: '#9f9aa4',
    500: '#787280',
    950: '#000000',
  },
}
SCSS
$custom: #787280;
$custom-light: #9f9aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#787280",
  "rgb": {
    "r": 120,
    "g": 114,
    "b": 128
  },
  "hsl": {
    "h": 265.714,
    "s": 5.785,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56221,
    "c": 0.02243,
    "h": 305
  },
  "luminance": 0.17586
}

Semantic roles & 50–950 ramp

primary
#787280
secondary
#A7AAA3
accent
#AF7998
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E0F
muted
#7E7E7F

Preview Lab

Preview with #787280

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

Preview Lab → · Contrast checker → · Palette generator →

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