#AF797F#AF797F

#AF797F is a light, moderate red. Relative luminance 0.243; OKLCH L 63.3% C 0.068 H 11.9°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#AF797F
RGBrgb(175, 121, 127)
HSLhsl(353, 25%, 58%)
HSVhsv(353, 31%, 69%)
CMYKcmyk(0%, 30.9%, 27.4%, 31.4%)
CIE-LABlab(56.41, 21.96, 5.26)
CIE-LCHlch(56.41, 22.58, 13.47°)
OKLaboklab(63.26% 0.0666 0.014)
OKLCHoklch(63.26% 0.068 11.9)
XYZxyz(28.3480, 24.3227, 23.2762)
Luminance0.2432 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF797F #79AFA9
analogous
#AF799A #AF797F #AF8E79
triadic
#AF797F #7FAF79 #797FAF
tetradic
#AF797F #9AAF79 #79AFA9 #8E79AF
square
#AF797F #9AAF79 #79AFA9 #8E79AF
split-complementary
#AF797F #79AF8E #799AAF
monochromatic
#6D4146 #93585E #AF797F #C69FA4 #DDC6C8

Accessibility & contrast

On white

3.58
#AF797F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#AF797F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF797F
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF797F#FFFFFF#000000##000000
##AF797F1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#82817F
Deuteranopia (green-blind)
#8F8B7E
Tritanopia (blue-blind)
#B9747B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af797f;
/* rgb */ color: rgb(175, 121, 127);
/* oklch */ color: oklch(63.3% 0.068 11.9);
Tailwind
colors: {
  custom: {
    50: '#c8a0a4',
    500: '#af797f',
    950: '#000000',
  },
}
SCSS
$custom: #af797f;
$custom-light: #c8a0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#af797f",
  "rgb": {
    "r": 175,
    "g": 121,
    "b": 127
  },
  "hsl": {
    "h": 353.333,
    "s": 25.234,
    "l": 58.039
  },
  "oklch": {
    "l": 0.63262,
    "c": 0.06808,
    "h": 11.9
  },
  "luminance": 0.24321
}

Semantic roles & 50–950 ramp

primary
#AF797F
secondary
#B7CDCA
accent
#C2B766
background
#FCF9FA
surface
#F8F2F4
border
#D1CCCE
text
#130E0F
muted
#827E7F

Preview Lab

Preview with #AF797F

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

Preview Lab → · Contrast checker → · Palette generator →

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