#AA787F#AA787F

#AA787F is a light, moderate red. Relative luminance 0.235; OKLCH L 62.5% C 0.063 H 9.8°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#AA787F
RGBrgb(170, 120, 127)
HSLhsl(352, 23%, 57%)
HSVhsv(352, 29%, 67%)
CMYKcmyk(0%, 29.4%, 25.3%, 33.3%)
CIE-LABlab(55.60, 20.59, 4.01)
CIE-LCHlch(55.60, 20.97, 11.03°)
OKLaboklab(62.51% 0.0624 0.0108)
OKLCHoklch(62.51% 0.063 9.8)
XYZxyz(27.1253, 23.5128, 23.1842)
Luminance0.2351 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA787F #78AAA3
analogous
#AA7898 #AA787F #AA8A78
triadic
#AA787F #7FAA78 #787FAA
tetradic
#AA787F #98AA78 #78AAA3 #8A78AA
square
#AA787F #98AA78 #78AAA3 #8A78AA
split-complementary
#AA787F #78AA8A #7898AA
monochromatic
#674146 #8C5860 #AA787F #C29EA3 #D9C3C6

Accessibility & contrast

On white

3.68
#AA787F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#AA787F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA787F
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA787F#FFFFFF#000000##000000
##AA787F1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#80807F
Deuteranopia (green-blind)
#8C897E
Tritanopia (blue-blind)
#B3747A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #aa787f;
/* rgb */ color: rgb(170, 120, 127);
/* oklch */ color: oklch(62.5% 0.063 9.8);
Tailwind
colors: {
  custom: {
    50: '#c49fa4',
    500: '#aa787f',
    950: '#000000',
  },
}
SCSS
$custom: #aa787f;
$custom-light: #c49fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa787f",
  "rgb": {
    "r": 170,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 351.6,
    "s": 22.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.62509,
    "c": 0.06332,
    "h": 9.8
  },
  "luminance": 0.23511
}

Semantic roles & 50–950 ramp

primary
#AA787F
secondary
#B5C9C6
accent
#BFB369
background
#FCF9FA
surface
#F8F2F4
border
#D1CCCE
text
#130E0F
muted
#827E7F

Preview Lab

Preview with #AA787F

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

Preview Lab → · Contrast checker → · Palette generator →

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