#AF796E#AF796E

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

Color values

HEX#AF796E
RGBrgb(175, 121, 110)
HSLhsl(10, 29%, 56%)
HSVhsv(10, 37%, 69%)
CMYKcmyk(0%, 30.9%, 37.1%, 31.4%)
CIE-LABlab(56.00, 19.66, 14.53)
CIE-LCHlch(56.00, 24.45, 36.46°)
OKLaboklab(62.82% 0.0597 0.0372)
OKLCHoklch(62.82% 0.07 31.9)
XYZxyz(27.3320, 23.9163, 17.9256)
Luminance0.2391 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF796E #6EA4AF
analogous
#AF6E83 #AF796E #AF996E
triadic
#AF796E #6EAF79 #796EAF
tetradic
#AF796E #83AF6E #6EA4AF #996EAF
square
#AF796E #83AF6E #6EA4AF #996EAF
split-complementary
#AF796E #6EAF99 #6E83AF
monochromatic
#69423A #905B50 #AF796E #C59D95 #DBC2BD

Accessibility & contrast

On white

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

On black

5.78
#AF796E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF796E
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF796E#FFFFFF#000000##000000
##AF796E1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af796e;
/* rgb */ color: rgb(175, 121, 110);
/* oklch */ color: oklch(62.8% 0.070 31.9);
Tailwind
colors: {
  custom: {
    50: '#c8a097',
    500: '#af796e',
    950: '#000000',
  },
}
SCSS
$custom: #af796e;
$custom-light: #c8a097;
$custom-dark: #000000;
JSON
{
  "hex": "#af796e",
  "rgb": {
    "r": 175,
    "g": 121,
    "b": 110
  },
  "hsl": {
    "h": 10.154,
    "s": 28.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.62816,
    "c": 0.07031,
    "h": 31.9
  },
  "luminance": 0.23914
}

Semantic roles & 50–950 ramp

primary
#AF796E
secondary
#AFC5CA
accent
#B4C563
background
#FCF9F9
surface
#F8F2F2
border
#D1CCCC
text
#130E0D
muted
#827E7E

Preview Lab

Preview with #AF796E

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

Preview Lab → · Contrast checker → · Palette generator →

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