#AF787F#AF787F

#AF787F is a light, moderate red. Relative luminance 0.241; OKLCH L 63.1% C 0.070 H 10.9°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#AF787F
RGBrgb(175, 120, 127)
HSLhsl(352, 26%, 58%)
HSVhsv(352, 31%, 69%)
CMYKcmyk(0%, 31.4%, 27.4%, 31.4%)
CIE-LABlab(56.17, 22.52, 4.91)
CIE-LCHlch(56.17, 23.05, 12.31°)
OKLaboklab(63.08% 0.0683 0.0131)
OKLCHoklch(63.08% 0.07 10.9)
XYZxyz(28.2271, 24.0809, 23.2359)
Luminance0.2408 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF787F #78AFA8
analogous
#AF789A #AF787F #AF8D78
triadic
#AF787F #7FAF78 #787FAF
tetradic
#AF787F #9AAF78 #78AFA8 #8D78AF
square
#AF787F #9AAF78 #78AFA8 #8D78AF
split-complementary
#AF787F #78AF8D #789AAF
monochromatic
#6C4046 #93575F #AF787F #C69EA3 #DDC5C8

Accessibility & contrast

On white

3.61
#AF787F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#AF787F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF787F
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF787F#FFFFFF#000000##000000
##AF787F1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#81817F
Deuteranopia (green-blind)
#8E8B7E
Tritanopia (blue-blind)
#B9737B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af787f;
/* rgb */ color: rgb(175, 120, 127);
/* oklch */ color: oklch(63.1% 0.070 10.9);
Tailwind
colors: {
  custom: {
    50: '#c89fa4',
    500: '#af787f',
    950: '#000000',
  },
}
SCSS
$custom: #af787f;
$custom-light: #c89fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#af787f",
  "rgb": {
    "r": 175,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 352.364,
    "s": 25.581,
    "l": 57.843
  },
  "oklch": {
    "l": 0.63077,
    "c": 0.06954,
    "h": 10.9
  },
  "luminance": 0.24079
}

Semantic roles & 50–950 ramp

primary
#AF787F
secondary
#B6CCCA
accent
#C2B666
background
#FCF9FA
surface
#F8F2F4
border
#D1CCCE
text
#130E0F
muted
#827E7F

Preview Lab

Preview with #AF787F

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

Preview Lab → · Contrast checker → · Palette generator →

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