#AF787A#AF787A

#AF787A is a light, moderate red. Relative luminance 0.240; OKLCH L 62.9% C 0.069 H 16.8°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#AF787A
RGBrgb(175, 120, 122)
HSLhsl(358, 26%, 58%)
HSVhsv(358, 31%, 69%)
CMYKcmyk(0%, 31.4%, 30.3%, 31.4%)
CIE-LABlab(56.04, 21.81, 7.63)
CIE-LCHlch(56.04, 23.11, 19.29°)
OKLaboklab(62.94% 0.0663 0.02)
OKLCHoklch(62.94% 0.069 16.8)
XYZxyz(27.9093, 23.9538, 21.5621)
Luminance0.2395 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF787A #78AFAD
analogous
#AF7895 #AF787A #AF9178
triadic
#AF787A #7AAF78 #787AAF
tetradic
#AF787A #95AF78 #78AFAD #9178AF
square
#AF787A #95AF78 #78AFAD #9178AF
split-complementary
#AF787A #78AF91 #7895AF
monochromatic
#6C4042 #935759 #AF787A #C69EA0 #DDC5C6

Accessibility & contrast

On white

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

On black

5.79
#AF787A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF787A
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF787A#FFFFFF#000000##000000
##AF787A1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#82807A
Deuteranopia (green-blind)
#8F8A79
Tritanopia (blue-blind)
#BA7379
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af787a;
/* rgb */ color: rgb(175, 120, 122);
/* oklch */ color: oklch(62.9% 0.069 16.8);
Tailwind
colors: {
  custom: {
    50: '#c89fa0',
    500: '#af787a',
    950: '#000000',
  },
}
SCSS
$custom: #af787a;
$custom-light: #c89fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#af787a",
  "rgb": {
    "r": 175,
    "g": 120,
    "b": 122
  },
  "hsl": {
    "h": 357.818,
    "s": 25.581,
    "l": 57.843
  },
  "oklch": {
    "l": 0.62937,
    "c": 0.06926,
    "h": 16.8
  },
  "luminance": 0.23952
}

Semantic roles & 50–950 ramp

primary
#AF787A
secondary
#B6CCCC
accent
#C2BF66
background
#FCF9F9
surface
#F8F2F2
border
#D1CCCC
text
#130E0E
muted
#827E7E

Preview Lab

Preview with #AF787A

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

Preview Lab → · Contrast checker → · Palette generator →

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