#9F798D#9F798D

#9F798D is a mid, muted pink. Relative luminance 0.230; OKLCH L 61.9% C 0.055 H 345.9°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#9F798D
RGBrgb(159, 121, 141)
HSLhsl(328, 17%, 55%)
HSVhsv(328, 24%, 62%)
CMYKcmyk(0%, 23.9%, 11.3%, 37.6%)
CIE-LABlab(55.04, 18.13, -5.09)
CIE-LCHlch(55.04, 18.83, 344.31°)
OKLaboklab(61.94% 0.0531 -0.0133)
OKLCHoklch(61.94% 0.055 345.9)
XYZxyz(25.9430, 22.9697, 28.2612)
Luminance0.2297 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F798D #799F8B
analogous
#9E799F #9F798D #9F797A
triadic
#9F798D #8D9F79 #798D9F
tetradic
#9F798D #9F9E79 #799F8B #797A9F
square
#9F798D #9F9E79 #799F8B #797A9F
split-complementary
#9F798D #7A9F79 #799F9E
monochromatic
#5C424F #7F5B6E #9F798D #B99DAB #D2C0CA

Accessibility & contrast

On white

3.75
#9F798D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#9F798D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F798D
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F798D#FFFFFF#000000##000000
##9F798D1.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B808E
Deuteranopia (green-blind)
#84868C
Tritanopia (blue-blind)
#A47980
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9f798d;
/* rgb */ color: rgb(159, 121, 141);
/* oklch */ color: oklch(61.9% 0.055 345.9);
Tailwind
colors: {
  custom: {
    50: '#bca0ae',
    500: '#9f798d',
    950: '#000000',
  },
}
SCSS
$custom: #9f798d;
$custom-light: #bca0ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9f798d",
  "rgb": {
    "r": 159,
    "g": 121,
    "b": 141
  },
  "hsl": {
    "h": 328.421,
    "s": 16.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61941,
    "c": 0.05472,
    "h": 345.9
  },
  "luminance": 0.22969
}

Semantic roles & 50–950 ramp

primary
#9F798D
secondary
#B2C2B9
accent
#B9926F
background
#FBF9FA
surface
#F6F2F4
border
#D0CCCE
text
#120E10
muted
#817E7F

Preview Lab

Preview with #9F798D

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

Preview Lab → · Contrast checker → · Palette generator →

#9F798D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva