#785170#785170

#785170 is a mid, moderate pink. Relative luminance 0.110; OKLCH L 48.8% C 0.069 H 334.2°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#785170
RGBrgb(120, 81, 112)
HSLhsl(312, 19%, 39%)
HSVhsv(312, 33%, 47%)
CMYKcmyk(0%, 32.5%, 6.7%, 52.9%)
CIE-LABlab(39.66, 21.68, -11.18)
CIE-LCHlch(39.66, 24.39, 332.72°)
OKLaboklab(48.84% 0.0619 -0.0299)
OKLCHoklch(48.84% 0.069 334.2)
XYZxyz(13.6126, 11.0484, 16.7416)
Luminance0.1105 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785170 #517859
analogous
#6D5178 #785170 #78515D
triadic
#785170 #707851 #517078
tetradic
#785170 #786D51 #517859 #515D78
square
#785170 #786D51 #517859 #515D78
split-complementary
#785170 #5D7851 #51786D
monochromatic
#2F202C #53384E #785170 #9B6B91 #B490AC

Accessibility & contrast

On white

6.54
#785170 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#785170 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785170
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785170#FFFFFF#000000##FFFFFF
##7851701.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515A71
Deuteranopia (green-blind)
#5A5F6F
Tritanopia (blue-blind)
#7C535C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #785170;
/* rgb */ color: rgb(120, 81, 112);
/* oklch */ color: oklch(48.8% 0.069 334.2);
Tailwind
colors: {
  custom: {
    50: '#9f8299',
    500: '#785170',
    950: '#000000',
  },
}
SCSS
$custom: #785170;
$custom-light: #9f8299;
$custom-dark: #000000;
JSON
{
  "hex": "#785170",
  "rgb": {
    "r": 120,
    "g": 81,
    "b": 112
  },
  "hsl": {
    "h": 312.308,
    "s": 19.403,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48838,
    "c": 0.06873,
    "h": 334.2
  },
  "luminance": 0.11048
}

Semantic roles & 50–950 ramp

primary
#785170
secondary
#84A18A
accent
#BC7C6C
background
#F9F8F9
surface
#F2EFF2
border
#CCCACC
text
#0E0A0D
muted
#7E7C7E

Preview Lab

Preview with #785170

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

Preview Lab → · Contrast checker → · Palette generator →

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