#AF796B#AF796B

#AF796B is a light, moderate red. Relative luminance 0.238; OKLCH L 62.7% C 0.071 H 35.1°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#AF796B
RGBrgb(175, 121, 107)
HSLhsl(12, 30%, 55%)
HSVhsv(12, 39%, 69%)
CMYKcmyk(0%, 30.9%, 38.9%, 31.4%)
CIE-LABlab(55.94, 19.29, 16.17)
CIE-LCHlch(55.94, 25.17, 39.97°)
OKLaboklab(62.75% 0.0585 0.0411)
OKLCHoklch(62.75% 0.071 35.1)
XYZxyz(27.1715, 23.8521, 17.0799)
Luminance0.2385 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF796B #6BA1AF
analogous
#AF6B7F #AF796B #AF9B6B
triadic
#AF796B #6BAF79 #796BAF
tetradic
#AF796B #7FAF6B #6BA1AF #9B6BAF
square
#AF796B #7FAF6B #6BA1AF #9B6BAF
split-complementary
#AF796B #6BAF9B #6B7FAF
monochromatic
#684238 #8F5B4D #AF796B #C49D93 #DAC1BA

Accessibility & contrast

On white

3.64
#AF796B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#AF796B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF796B
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF796B#FFFFFF#000000##000000
##AF796B1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#857F6A
Deuteranopia (green-blind)
#928A6B
Tritanopia (blue-blind)
#BB7175
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af796b;
/* rgb */ color: rgb(175, 121, 107);
/* oklch */ color: oklch(62.7% 0.071 35.1);
Tailwind
colors: {
  custom: {
    50: '#c9a095',
    500: '#af796b',
    950: '#000000',
  },
}
SCSS
$custom: #af796b;
$custom-light: #c9a095;
$custom-dark: #000000;
JSON
{
  "hex": "#af796b",
  "rgb": {
    "r": 175,
    "g": 121,
    "b": 107
  },
  "hsl": {
    "h": 12.353,
    "s": 29.825,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62745,
    "c": 0.07146,
    "h": 35.1
  },
  "luminance": 0.2385
}

Semantic roles & 50–950 ramp

primary
#AF796B
secondary
#ADC3C9
accent
#B1C662
background
#FCF9F9
surface
#F8F2F1
border
#D1CCCB
text
#130E0D
muted
#827E7E

Preview Lab

Preview with #AF796B

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

Preview Lab → · Contrast checker → · Palette generator →

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