#AF787C#AF787C

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

Color values

HEX#AF787C
RGBrgb(175, 120, 124)
HSLhsl(356, 26%, 58%)
HSVhsv(356, 31%, 69%)
CMYKcmyk(0%, 31.4%, 29.1%, 31.4%)
CIE-LABlab(56.09, 22.09, 6.54)
CIE-LCHlch(56.09, 23.04, 16.50°)
OKLaboklab(62.99% 0.0671 0.0173)
OKLCHoklch(62.99% 0.069 14.4)
XYZxyz(28.0345, 24.0039, 22.2215)
Luminance0.2400 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF787C #78AFAB
analogous
#AF7897 #AF787C #AF8F78
triadic
#AF787C #7CAF78 #787CAF
tetradic
#AF787C #97AF78 #78AFAB #8F78AF
square
#AF787C #97AF78 #78AFAB #8F78AF
split-complementary
#AF787C #78AF8F #7897AF
monochromatic
#6C4043 #93575B #AF787C #C69EA1 #DDC5C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF787C#FFFFFF#000000##000000
##AF787C1.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)
#82807C
Deuteranopia (green-blind)
#8F8A7B
Tritanopia (blue-blind)
#B9737A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af787c;
/* rgb */ color: rgb(175, 120, 124);
/* oklch */ color: oklch(63.0% 0.069 14.4);
Tailwind
colors: {
  custom: {
    50: '#c89fa1',
    500: '#af787c',
    950: '#000000',
  },
}
SCSS
$custom: #af787c;
$custom-light: #c89fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#af787c",
  "rgb": {
    "r": 175,
    "g": 120,
    "b": 124
  },
  "hsl": {
    "h": 355.636,
    "s": 25.581,
    "l": 57.843
  },
  "oklch": {
    "l": 0.62992,
    "c": 0.06929,
    "h": 14.4
  },
  "luminance": 0.24002
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF787C

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

Preview Lab → · Contrast checker → · Palette generator →

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