#787285#787285

#787285 is a mid, muted grey. Relative luminance 0.177; OKLCH L 56.4% C 0.030 H 299.9°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#787285
RGBrgb(120, 114, 133)
HSLhsl(259, 8%, 48%)
HSVhsv(259, 14%, 52%)
CMYKcmyk(9.8%, 14.3%, 0%, 47.8%)
CIE-LABlab(49.16, 6.26, -9.57)
CIE-LCHlch(49.16, 11.44, 303.21°)
OKLaboklab(56.41% 0.0148 -0.0258)
OKLCHoklch(56.41% 0.03 299.9)
XYZxyz(17.9959, 17.7211, 24.6582)
Luminance0.1772 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787285 #7F8572
analogous
#727585 #787285 #817285
triadic
#787285 #857872 #728578
tetradic
#787285 #857275 #7F8572 #728581
square
#787285 #857275 #7F8572 #728581
split-complementary
#787285 #858172 #758572
monochromatic
#3D3A43 #5A5664 #787285 #9792A2 #B7B3BE

Accessibility & contrast

On white

4.62
#787285 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#787285 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #787285
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787285#FFFFFF#000000##FFFFFF
##7872851.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F7586
Deuteranopia (green-blind)
#6F7584
Tritanopia (blue-blind)
#767578
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #787285;
/* rgb */ color: rgb(120, 114, 133);
/* oklch */ color: oklch(56.4% 0.030 299.9);
Tailwind
colors: {
  custom: {
    50: '#9f9aa8',
    500: '#787285',
    950: '#000000',
  },
}
SCSS
$custom: #787285;
$custom-light: #9f9aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#787285",
  "rgb": {
    "r": 120,
    "g": 114,
    "b": 133
  },
  "hsl": {
    "h": 258.947,
    "s": 7.692,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56405,
    "c": 0.02975,
    "h": 299.9
  },
  "luminance": 0.17721
}

Semantic roles & 50–950 ramp

primary
#787285
secondary
#ABAEA5
accent
#B1779F
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E0F
muted
#7E7E7F

Preview Lab

Preview with #787285

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

Preview Lab → · Contrast checker → · Palette generator →

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