#786174#786174

#786174 is a mid, muted pink. Relative luminance 0.138; OKLCH L 52.2% C 0.041 H 332.1°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#786174
RGBrgb(120, 97, 116)
HSLhsl(310, 11%, 43%)
HSVhsv(310, 19%, 47%)
CMYKcmyk(0%, 19.2%, 3.3%, 52.9%)
CIE-LABlab(43.95, 12.83, -7.18)
CIE-LCHlch(43.95, 14.70, 330.76°)
OKLaboklab(52.18% 0.0361 -0.0191)
OKLCHoklch(52.18% 0.041 332.1)
XYZxyz(15.1725, 13.8038, 18.3847)
Luminance0.1380 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786174 #617865
analogous
#716178 #786174 #786168
triadic
#786174 #747861 #617478
tetradic
#786174 #787161 #617865 #616878
square
#786174 #787161 #617865 #616878
split-complementary
#786174 #687861 #617871
monochromatic
#342A33 #564653 #786174 #977F93 #B3A1B0

Accessibility & contrast

On white

5.58
#786174 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#786174 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786174
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786174#FFFFFF#000000##FFFFFF
##7861741.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#616675
Deuteranopia (green-blind)
#666973
Tritanopia (blue-blind)
#7A6267
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #786174;
/* rgb */ color: rgb(120, 97, 116);
/* oklch */ color: oklch(52.2% 0.041 332.1);
Tailwind
colors: {
  custom: {
    50: '#9f8e9c',
    500: '#786174',
    950: '#000000',
  },
}
SCSS
$custom: #786174;
$custom-light: #9f8e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#786174",
  "rgb": {
    "r": 120,
    "g": 97,
    "b": 116
  },
  "hsl": {
    "h": 310.435,
    "s": 10.599,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52175,
    "c": 0.04088,
    "h": 332.1
  },
  "luminance": 0.13803
}

Semantic roles & 50–950 ramp

primary
#786174
secondary
#93A296
accent
#B47F74
background
#F9F8F9
surface
#F2F0F2
border
#CCCBCC
text
#0E0C0E
muted
#7E7D7E

Preview Lab

Preview with #786174

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

Preview Lab → · Contrast checker → · Palette generator →

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