#9E797C#9E797C

#9E797C is a mid, muted red. Relative luminance 0.224; OKLCH L 61.3% C 0.046 H 13.1°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#9E797C
RGBrgb(158, 121, 124)
HSLhsl(355, 16%, 55%)
HSVhsv(355, 23%, 62%)
CMYKcmyk(0%, 23.4%, 21.5%, 38%)
CIE-LABlab(54.45, 14.88, 3.94)
CIE-LCHlch(54.45, 15.39, 14.82°)
OKLaboklab(61.3% 0.0452 0.0105)
OKLCHoklch(61.3% 0.046 13.1)
XYZxyz(24.5762, 22.4002, 22.0940)
Luminance0.2240 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E797C #799E9B
analogous
#9E798F #9E797C #9E8979
triadic
#9E797C #7C9E79 #797C9E
tetradic
#9E797C #8F9E79 #799E9B #89799E
square
#9E797C #8F9E79 #799E9B #89799E
split-complementary
#9E797C #799E89 #798F9E
monochromatic
#5B4244 #7E5B5E #9E797C #B89D9F #D1C0C1

Accessibility & contrast

On white

3.83
#9E797C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#9E797C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E797C
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E797C#FFFFFF#000000##000000
##9E797C1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F7E7C
Deuteranopia (green-blind)
#87857B
Tritanopia (blue-blind)
#A5767A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9e797c;
/* rgb */ color: rgb(158, 121, 124);
/* oklch */ color: oklch(61.3% 0.046 13.1);
Tailwind
colors: {
  custom: {
    50: '#bba0a1',
    500: '#9e797c',
    950: '#000000',
  },
}
SCSS
$custom: #9e797c;
$custom-light: #bba0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e797c",
  "rgb": {
    "r": 158,
    "g": 121,
    "b": 124
  },
  "hsl": {
    "h": 355.135,
    "s": 16.017,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61299,
    "c": 0.04644,
    "h": 13.1
  },
  "luminance": 0.22399
}

Semantic roles & 50–950 ramp

primary
#9E797C
secondary
#B2C1C0
accent
#B9B36F
background
#FBF9F9
surface
#F6F2F2
border
#D0CCCC
text
#120E0F
muted
#817E7E

Preview Lab

Preview with #9E797C

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

Preview Lab → · Contrast checker → · Palette generator →

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