#AF796D#AF796D

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

Color values

HEX#AF796D
RGBrgb(175, 121, 109)
HSLhsl(11, 29%, 56%)
HSVhsv(11, 38%, 69%)
CMYKcmyk(0%, 30.9%, 37.7%, 31.4%)
CIE-LABlab(55.98, 19.54, 15.08)
CIE-LCHlch(55.98, 24.68, 37.65°)
OKLaboklab(62.79% 0.0593 0.0385)
OKLCHoklch(62.79% 0.071 33)
XYZxyz(27.2779, 23.8947, 17.6404)
Luminance0.2389 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF796D #6DA3AF
analogous
#AF6D82 #AF796D #AF9A6D
triadic
#AF796D #6DAF79 #796DAF
tetradic
#AF796D #82AF6D #6DA3AF #9A6DAF
square
#AF796D #82AF6D #6DA3AF #9A6DAF
split-complementary
#AF796D #6DAF9A #6D82AF
monochromatic
#684239 #905B4F #AF796D #C59D95 #DAC2BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF796D#FFFFFF#000000##000000
##AF796D1.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)
#85806C
Deuteranopia (green-blind)
#928A6C
Tritanopia (blue-blind)
#BB7276
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af796d;
/* rgb */ color: rgb(175, 121, 109);
/* oklch */ color: oklch(62.8% 0.071 33.0);
Tailwind
colors: {
  custom: {
    50: '#c8a096',
    500: '#af796d',
    950: '#000000',
  },
}
SCSS
$custom: #af796d;
$custom-light: #c8a096;
$custom-dark: #000000;
JSON
{
  "hex": "#af796d",
  "rgb": {
    "r": 175,
    "g": 121,
    "b": 109
  },
  "hsl": {
    "h": 10.909,
    "s": 29.204,
    "l": 55.686
  },
  "oklch": {
    "l": 0.62792,
    "c": 0.07067,
    "h": 33
  },
  "luminance": 0.23893
}

Semantic roles & 50–950 ramp

primary
#AF796D
secondary
#AEC5CA
accent
#B3C562
background
#FCF9F9
surface
#F8F2F2
border
#D1CCCC
text
#130E0D
muted
#827E7E

Preview Lab

Preview with #AF796D

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

Preview Lab → · Contrast checker → · Palette generator →

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