#AF787B#AF787B

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

Color values

HEX#AF787B
RGBrgb(175, 120, 123)
HSLhsl(357, 26%, 58%)
HSVhsv(357, 31%, 69%)
CMYKcmyk(0%, 31.4%, 29.7%, 31.4%)
CIE-LABlab(56.07, 21.95, 7.09)
CIE-LCHlch(56.07, 23.06, 17.90°)
OKLaboklab(62.97% 0.0667 0.0187)
OKLCHoklch(62.97% 0.069 15.6)
XYZxyz(27.9715, 23.9787, 21.8901)
Luminance0.2398 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF787B #78AFAC
analogous
#AF7896 #AF787B #AF9078
triadic
#AF787B #7BAF78 #787BAF
tetradic
#AF787B #96AF78 #78AFAC #9078AF
square
#AF787B #96AF78 #78AFAC #9078AF
split-complementary
#AF787B #78AF90 #7896AF
monochromatic
#6C4043 #93575A #AF787B #C69EA1 #DDC5C6

Accessibility & contrast

On white

3.62
#AF787B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#AF787B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF787B
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF787B#FFFFFF#000000##000000
##AF787B1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af787b;
/* rgb */ color: rgb(175, 120, 123);
/* oklch */ color: oklch(63.0% 0.069 15.6);
Tailwind
colors: {
  custom: {
    50: '#c89fa1',
    500: '#af787b',
    950: '#000000',
  },
}
SCSS
$custom: #af787b;
$custom-light: #c89fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#af787b",
  "rgb": {
    "r": 175,
    "g": 120,
    "b": 123
  },
  "hsl": {
    "h": 356.727,
    "s": 25.581,
    "l": 57.843
  },
  "oklch": {
    "l": 0.62965,
    "c": 0.06926,
    "h": 15.6
  },
  "luminance": 0.23977
}

Semantic roles & 50–950 ramp

primary
#AF787B
secondary
#B6CCCB
accent
#C2BD66
background
#FCF9F9
surface
#F8F2F2
border
#D1CCCC
text
#130E0E
muted
#827E7E

Preview Lab

Preview with #AF787B

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

Preview Lab → · Contrast checker → · Palette generator →

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