#787181#787181

#787181 is a mid, muted grey. Relative luminance 0.174; OKLCH L 56.0% C 0.026 H 305.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#787181
RGBrgb(120, 113, 129)
HSLhsl(266, 7%, 47%)
HSVhsv(266, 12%, 51%)
CMYKcmyk(7%, 12.4%, 0%, 49.4%)
CIE-LABlab(48.75, 5.98, -7.81)
CIE-LCHlch(48.75, 9.84, 307.43°)
OKLaboklab(56.04% 0.0149 -0.021)
OKLCHoklch(56.04% 0.026 305.3)
XYZxyz(17.6126, 17.3883, 23.1930)
Luminance0.1739 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787181 #7A8171
analogous
#717281 #787181 #807181
triadic
#787181 #817871 #718178
tetradic
#787181 #817172 #7A8171 #718180
square
#787181 #817172 #7A8171 #718180
split-complementary
#787181 #818071 #728171
monochromatic
#3B3840 #5A5460 #787181 #97919E #B6B1BB

Accessibility & contrast

On white

4.69
#787181 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#787181 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787181
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787181#FFFFFF#000000##FFFFFF
##7871811.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F7482
Deuteranopia (green-blind)
#707480
Tritanopia (blue-blind)
#777376
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #787181;
/* rgb */ color: rgb(120, 113, 129);
/* oklch */ color: oklch(56.0% 0.026 305.3);
Tailwind
colors: {
  custom: {
    50: '#9f99a5',
    500: '#787181',
    950: '#000000',
  },
}
SCSS
$custom: #787181;
$custom-light: #9f99a5;
$custom-dark: #000000;
JSON
{
  "hex": "#787181",
  "rgb": {
    "r": 120,
    "g": 113,
    "b": 129
  },
  "hsl": {
    "h": 266.25,
    "s": 6.612,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5604,
    "c": 0.02571,
    "h": 305.3
  },
  "luminance": 0.17388
}

Semantic roles & 50–950 ramp

primary
#787181
secondary
#A7ABA3
accent
#B07897
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E0F
muted
#7E7E7F

Preview Lab

Preview with #787181

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

Preview Lab → · Contrast checker → · Palette generator →

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