#785171#785171

#785171 is a mid, moderate pink. Relative luminance 0.111; OKLCH L 48.9% C 0.070 H 333.1°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#785171
RGBrgb(120, 81, 113)
HSLhsl(311, 19%, 39%)
HSVhsv(311, 33%, 47%)
CMYKcmyk(0%, 32.5%, 5.8%, 52.9%)
CIE-LABlab(39.70, 21.88, -11.74)
CIE-LCHlch(39.70, 24.83, 331.78°)
OKLaboklab(48.88% 0.0622 -0.0315)
OKLCHoklch(48.88% 0.07 333.1)
XYZxyz(13.6686, 11.0707, 17.0365)
Luminance0.1107 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785171 #517858
analogous
#6C5178 #785171 #78515E
triadic
#785171 #717851 #517178
tetradic
#785171 #786C51 #517858 #515E78
square
#785171 #786C51 #517858 #515E78
split-complementary
#785171 #5E7851 #51786C
monochromatic
#2F202C #53384F #785171 #9B6B93 #B490AD

Accessibility & contrast

On white

6.53
#785171 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #785171
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785171#FFFFFF#000000##FFFFFF
##7851711.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515A72
Deuteranopia (green-blind)
#5A6070
Tritanopia (blue-blind)
#7C535C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #785171;
/* rgb */ color: rgb(120, 81, 113);
/* oklch */ color: oklch(48.9% 0.070 333.1);
Tailwind
colors: {
  custom: {
    50: '#9f8299',
    500: '#785171',
    950: '#000000',
  },
}
SCSS
$custom: #785171;
$custom-light: #9f8299;
$custom-dark: #000000;
JSON
{
  "hex": "#785171",
  "rgb": {
    "r": 120,
    "g": 81,
    "b": 113
  },
  "hsl": {
    "h": 310.769,
    "s": 19.403,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48879,
    "c": 0.06972,
    "h": 333.1
  },
  "luminance": 0.1107
}

Semantic roles & 50–950 ramp

primary
#785171
secondary
#84A189
accent
#BC7A6C
background
#F9F8F9
surface
#F2EFF2
border
#CCCACC
text
#0E0A0E
muted
#7E7C7E

Preview Lab

Preview with #785171

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

Preview Lab → · Contrast checker → · Palette generator →

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