#787889#787889

#787889 is a mid, muted grey. Relative luminance 0.192; OKLCH L 57.9% C 0.026 H 285.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#787889
RGBrgb(120, 120, 137)
HSLhsl(240, 7%, 50%)
HSVhsv(240, 12%, 54%)
CMYKcmyk(12.4%, 12.4%, 0%, 46.3%)
CIE-LABlab(50.96, 3.62, -9.23)
CIE-LCHlch(50.96, 9.91, 291.44°)
OKLaboklab(57.86% 0.0069 -0.0249)
OKLCHoklch(57.86% 0.026 285.6)
XYZxyz(18.9766, 19.2320, 26.3744)
Luminance0.1923 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787889 #898978
analogous
#788089 #787889 #807889
triadic
#787889 #897878 #788978
tetradic
#787889 #897880 #898978 #788980
square
#787889 #897880 #898978 #788980
split-complementary
#787889 #898078 #808978
monochromatic
#3F3F48 #5B5B68 #787889 #9999A6 #B9B9C2

Accessibility & contrast

On white

4.33
#787889 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#787889 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787889
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787889#FFFFFF#000000##000000
##7878891.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#747A8A
Deuteranopia (green-blind)
#747989
Tritanopia (blue-blind)
#757B7D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #787889;
/* rgb */ color: rgb(120, 120, 137);
/* oklch */ color: oklch(57.9% 0.026 285.6);
Tailwind
colors: {
  custom: {
    50: '#9f9eab',
    500: '#787889',
    950: '#000000',
  },
}
SCSS
$custom: #787889;
$custom-light: #9f9eab;
$custom-dark: #000000;
JSON
{
  "hex": "#787889",
  "rgb": {
    "r": 120,
    "g": 120,
    "b": 137
  },
  "hsl": {
    "h": 240,
    "s": 6.719,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57855,
    "c": 0.02586,
    "h": 285.6
  },
  "luminance": 0.19232
}

Semantic roles & 50–950 ramp

primary
#787889
secondary
#B2B2AB
accent
#B078B0
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E10
muted
#7E7E7F

Preview Lab

Preview with #787889

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

Preview Lab → · Contrast checker → · Palette generator →

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