#9D796F#9D796F

#9D796F is a mid, muted red. Relative luminance 0.220; OKLCH L 60.8% C 0.048 H 36.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#9D796F
RGBrgb(157, 121, 111)
HSLhsl(13, 19%, 53%)
HSVhsv(13, 29%, 62%)
CMYKcmyk(0%, 22.9%, 29.3%, 38.4%)
CIE-LABlab(54.02, 12.51, 10.88)
CIE-LCHlch(54.02, 16.58, 41.01°)
OKLaboklab(60.83% 0.0386 0.0281)
OKLCHoklch(60.83% 0.048 36.1)
XYZxyz(23.6117, 21.9917, 18.0370)
Luminance0.2199 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D796F #6F939D
analogous
#9D6F7C #9D796F #9D906F
triadic
#9D796F #6F9D79 #796F9D
tetradic
#9D796F #7C9D6F #6F939D #906F9D
square
#9D796F #7C9D6F #6F939D #906F9D
split-complementary
#9D796F #6F9D90 #6F7C9D
monochromatic
#57413B #7B5C54 #9D796F #B69B93 #CFBDB8

Accessibility & contrast

On white

3.89
#9D796F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#9D796F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D796F
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D796F#FFFFFF#000000##000000
##9D796F1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#817D6E
Deuteranopia (green-blind)
#8A846F
Tritanopia (blue-blind)
#A67476
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9d796f;
/* rgb */ color: rgb(157, 121, 111);
/* oklch */ color: oklch(60.8% 0.048 36.1);
Tailwind
colors: {
  custom: {
    50: '#bb9f98',
    500: '#9d796f',
    950: '#000000',
  },
}
SCSS
$custom: #9d796f;
$custom-light: #bb9f98;
$custom-dark: #000000;
JSON
{
  "hex": "#9d796f",
  "rgb": {
    "r": 157,
    "g": 121,
    "b": 111
  },
  "hsl": {
    "h": 13.043,
    "s": 19.008,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60834,
    "c": 0.04779,
    "h": 36.1
  },
  "luminance": 0.21991
}

Semantic roles & 50–950 ramp

primary
#9D796F
secondary
#AABABE
accent
#AABC6C
background
#FBF9F9
surface
#F6F2F2
border
#D0CCCC
text
#120E0D
muted
#817E7E

Preview Lab

Preview with #9D796F

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

Preview Lab → · Contrast checker → · Palette generator →

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