#AF797D#AF797D

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

Color values

HEX#AF797D
RGBrgb(175, 121, 125)
HSLhsl(356, 25%, 58%)
HSVhsv(356, 31%, 69%)
CMYKcmyk(0%, 30.9%, 28.6%, 31.4%)
CIE-LABlab(56.36, 21.67, 6.34)
CIE-LCHlch(56.36, 22.58, 16.32°)
OKLaboklab(63.21% 0.0658 0.0168)
OKLCHoklch(63.21% 0.068 14.3)
XYZxyz(28.2189, 24.2711, 22.5965)
Luminance0.2427 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF797D #79AFAB
analogous
#AF7998 #AF797D #AF9079
triadic
#AF797D #7DAF79 #797DAF
tetradic
#AF797D #98AF79 #79AFAB #9079AF
square
#AF797D #98AF79 #79AFAB #9079AF
split-complementary
#AF797D #79AF90 #7998AF
monochromatic
#6D4144 #93585C #AF797D #C69FA2 #DDC6C7

Accessibility & contrast

On white

3.59
#AF797D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#AF797D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF797D
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF797D#FFFFFF#000000##000000
##AF797D1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af797d;
/* rgb */ color: rgb(175, 121, 125);
/* oklch */ color: oklch(63.2% 0.068 14.3);
Tailwind
colors: {
  custom: {
    50: '#c8a0a2',
    500: '#af797d',
    950: '#000000',
  },
}
SCSS
$custom: #af797d;
$custom-light: #c8a0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#af797d",
  "rgb": {
    "r": 175,
    "g": 121,
    "b": 125
  },
  "hsl": {
    "h": 355.556,
    "s": 25.234,
    "l": 58.039
  },
  "oklch": {
    "l": 0.63206,
    "c": 0.06793,
    "h": 14.3
  },
  "luminance": 0.24269
}

Semantic roles & 50–950 ramp

primary
#AF797D
secondary
#B7CDCB
accent
#C2BB66
background
#FCF9F9
surface
#F8F2F2
border
#D1CCCC
text
#130E0F
muted
#827E7E

Preview Lab

Preview with #AF797D

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

Preview Lab → · Contrast checker → · Palette generator →

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