#AF796F#AF796F

#AF796F is a light, moderate red. Relative luminance 0.239; OKLCH L 62.8% C 0.070 H 30.8°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#AF796F
RGBrgb(175, 121, 111)
HSLhsl(9, 29%, 56%)
HSVhsv(9, 37%, 69%)
CMYKcmyk(0%, 30.9%, 36.6%, 31.4%)
CIE-LABlab(56.03, 19.79, 13.98)
CIE-LCHlch(56.03, 24.23, 35.25°)
OKLaboklab(62.84% 0.0601 0.0358)
OKLCHoklch(62.84% 0.07 30.8)
XYZxyz(27.3868, 23.9382, 18.2139)
Luminance0.2394 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF796F #6FA5AF
analogous
#AF6F85 #AF796F #AF996F
triadic
#AF796F #6FAF79 #796FAF
tetradic
#AF796F #85AF6F #6FA5AF #996FAF
square
#AF796F #85AF6F #6FA5AF #996FAF
split-complementary
#AF796F #6FAF99 #6F85AF
monochromatic
#69423A #915A50 #AF796F #C59E96 #DBC2BE

Accessibility & contrast

On white

3.63
#AF796F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#AF796F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF796F
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF796F#FFFFFF#000000##000000
##AF796F1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#85806E
Deuteranopia (green-blind)
#928B6E
Tritanopia (blue-blind)
#BB7276
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af796f;
/* rgb */ color: rgb(175, 121, 111);
/* oklch */ color: oklch(62.8% 0.070 30.8);
Tailwind
colors: {
  custom: {
    50: '#c8a098',
    500: '#af796f',
    950: '#000000',
  },
}
SCSS
$custom: #af796f;
$custom-light: #c8a098;
$custom-dark: #000000;
JSON
{
  "hex": "#af796f",
  "rgb": {
    "r": 175,
    "g": 121,
    "b": 111
  },
  "hsl": {
    "h": 9.375,
    "s": 28.571,
    "l": 56.078
  },
  "oklch": {
    "l": 0.6284,
    "c": 0.06997,
    "h": 30.8
  },
  "luminance": 0.23936
}

Semantic roles & 50–950 ramp

primary
#AF796F
secondary
#B0C6CA
accent
#B6C563
background
#FCF9F9
surface
#F8F2F2
border
#D1CCCC
text
#130E0D
muted
#827E7E

Preview Lab

Preview with #AF796F

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

Preview Lab → · Contrast checker → · Palette generator →

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