#787281#787281

#787281 is a mid, muted grey. Relative luminance 0.176; OKLCH L 56.3% C 0.024 H 303.7°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#787281
RGBrgb(120, 114, 129)
HSLhsl(264, 6%, 48%)
HSVhsv(264, 12%, 51%)
CMYKcmyk(7%, 11.6%, 0%, 49.4%)
CIE-LABlab(49.02, 5.39, -7.40)
CIE-LCHlch(49.02, 9.15, 306.07°)
OKLaboklab(56.26% 0.0133 -0.0199)
OKLCHoklch(56.26% 0.024 303.7)
XYZxyz(17.7248, 17.6127, 23.2304)
Luminance0.1761 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787281 #7B8172
analogous
#727381 #787281 #7F7281
triadic
#787281 #817872 #728178
tetradic
#787281 #817273 #7B8172 #72817F
square
#787281 #817273 #7B8172 #72817F
split-complementary
#787281 #817F72 #738172
monochromatic
#3C3940 #5A5561 #787281 #97929E #B6B2BB

Accessibility & contrast

On white

4.64
#787281 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #787281
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787281#FFFFFF#000000##FFFFFF
##7872811.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #787281;
/* rgb */ color: rgb(120, 114, 129);
/* oklch */ color: oklch(56.3% 0.024 303.7);
Tailwind
colors: {
  custom: {
    50: '#9f9aa5',
    500: '#787281',
    950: '#000000',
  },
}
SCSS
$custom: #787281;
$custom-light: #9f9aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#787281",
  "rgb": {
    "r": 120,
    "g": 114,
    "b": 129
  },
  "hsl": {
    "h": 264,
    "s": 6.173,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56257,
    "c": 0.02388,
    "h": 303.7
  },
  "luminance": 0.17613
}

Semantic roles & 50–950 ramp

primary
#787281
secondary
#A8ABA4
accent
#AF7999
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E0F
muted
#7E7E7F

Preview Lab

Preview with #787281

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

Preview Lab → · Contrast checker → · Palette generator →

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