#AF797A#AF797A

#AF797A is a light, moderate red. Relative luminance 0.242; OKLCH L 63.1% C 0.068 H 17.9°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#AF797A
RGBrgb(175, 121, 122)
HSLhsl(359, 25%, 58%)
HSVhsv(359, 31%, 69%)
CMYKcmyk(0%, 30.9%, 30.3%, 31.4%)
CIE-LABlab(56.28, 21.25, 7.98)
CIE-LCHlch(56.28, 22.70, 20.58°)
OKLaboklab(63.12% 0.0646 0.0209)
OKLCHoklch(63.12% 0.068 17.9)
XYZxyz(28.0302, 24.1956, 21.6024)
Luminance0.2419 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF797A #79AFAE
analogous
#AF7995 #AF797A #AF9379
triadic
#AF797A #7AAF79 #797AAF
tetradic
#AF797A #95AF79 #79AFAE #9379AF
square
#AF797A #95AF79 #79AFAE #9379AF
split-complementary
#AF797A #79AF93 #7995AF
monochromatic
#6D4142 #935859 #AF797A #C69FA0 #DDC6C6

Accessibility & contrast

On white

3.60
#AF797A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#AF797A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF797A
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF797A#FFFFFF#000000##000000
##AF797A1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#83817A
Deuteranopia (green-blind)
#908B79
Tritanopia (blue-blind)
#BA747A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af797a;
/* rgb */ color: rgb(175, 121, 122);
/* oklch */ color: oklch(63.1% 0.068 17.9);
Tailwind
colors: {
  custom: {
    50: '#c8a0a0',
    500: '#af797a',
    950: '#000000',
  },
}
SCSS
$custom: #af797a;
$custom-light: #c8a0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#af797a",
  "rgb": {
    "r": 175,
    "g": 121,
    "b": 122
  },
  "hsl": {
    "h": 358.889,
    "s": 25.234,
    "l": 58.039
  },
  "oklch": {
    "l": 0.63123,
    "c": 0.06792,
    "h": 17.9
  },
  "luminance": 0.24194
}

Semantic roles & 50–950 ramp

primary
#AF797A
secondary
#B7CDCC
accent
#C2C066
background
#FCF9F9
surface
#F8F2F2
border
#D1CCCC
text
#130E0E
muted
#827E7E

Preview Lab

Preview with #AF797A

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

Preview Lab → · Contrast checker → · Palette generator →

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