#795170#795170

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

Color values

HEX#795170
RGBrgb(121, 81, 112)
HSLhsl(314, 20%, 40%)
HSVhsv(314, 33%, 47%)
CMYKcmyk(0%, 33.1%, 7.4%, 52.5%)
CIE-LABlab(39.78, 22.05, -10.98)
CIE-LCHlch(39.78, 24.63, 333.52°)
OKLaboklab(48.96% 0.0631 -0.0294)
OKLCHoklch(48.96% 0.07 335)
XYZxyz(13.7521, 11.1203, 16.7481)
Luminance0.1112 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795170 #51795A
analogous
#6E5179 #795170 #79515C
triadic
#795170 #707951 #517079
tetradic
#795170 #796E51 #51795A #515C79
square
#795170 #796E51 #51795A #515C79
split-complementary
#795170 #5C7951 #51796E
monochromatic
#30202C #54384E #795170 #9C6B91 #B590AC

Accessibility & contrast

On white

6.51
#795170 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#795170 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795170
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795170#FFFFFF#000000##FFFFFF
##7951701.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515A71
Deuteranopia (green-blind)
#5B606F
Tritanopia (blue-blind)
#7D535C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #795170;
/* rgb */ color: rgb(121, 81, 112);
/* oklch */ color: oklch(49.0% 0.070 335.0);
Tailwind
colors: {
  custom: {
    50: '#a08299',
    500: '#795170',
    950: '#000000',
  },
}
SCSS
$custom: #795170;
$custom-light: #a08299;
$custom-dark: #000000;
JSON
{
  "hex": "#795170",
  "rgb": {
    "r": 121,
    "g": 81,
    "b": 112
  },
  "hsl": {
    "h": 313.5,
    "s": 19.802,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48957,
    "c": 0.06964,
    "h": 335
  },
  "luminance": 0.1112
}

Semantic roles & 50–950 ramp

primary
#795170
secondary
#84A28B
accent
#BC7E6B
background
#F9F8F9
surface
#F2EFF2
border
#CCCACC
text
#0F0A0D
muted
#7E7C7E

Preview Lab

Preview with #795170

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

Preview Lab → · Contrast checker → · Palette generator →

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