#AA7FA2#AA7FA2

#AA7FA2 is a light, moderate pink. Relative luminance 0.263; OKLCH L 65.0% C 0.072 H 333.0°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#AA7FA2
RGBrgb(170, 127, 162)
HSLhsl(311, 20%, 58%)
HSVhsv(311, 25%, 67%)
CMYKcmyk(0%, 25.3%, 4.7%, 33.3%)
CIE-LABlab(58.35, 22.53, -12.17)
CIE-LCHlch(58.35, 25.61, 331.62°)
OKLaboklab(64.98% 0.0638 -0.0325)
OKLCHoklch(64.98% 0.072 333)
XYZxyz(30.6880, 26.3344, 37.6419)
Luminance0.2633 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7FA2 #7FAA87
analogous
#9C7FAA #AA7FA2 #AA7F8C
triadic
#AA7FA2 #A2AA7F #7FA2AA
tetradic
#AA7FA2 #AA9C7F #7FAA87 #7F8CAA
square
#AA7FA2 #AA9C7F #7FAA87 #7F8CAA
split-complementary
#AA7FA2 #8CAA7F #7FAA9C
monochromatic
#694662 #8E5E85 #AA7FA2 #C2A4BD #DBC9D7

Accessibility & contrast

On white

3.35
#AA7FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#AA7FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7FA2
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7FA2#FFFFFF#000000##000000
##AA7FA21.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F89A3
Deuteranopia (green-blind)
#888EA1
Tritanopia (blue-blind)
#AE818B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #aa7fa2;
/* rgb */ color: rgb(170, 127, 162);
/* oklch */ color: oklch(65.0% 0.072 333.0);
Tailwind
colors: {
  custom: {
    50: '#c3a4bd',
    500: '#aa7fa2',
    950: '#000000',
  },
}
SCSS
$custom: #aa7fa2;
$custom-light: #c3a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7fa2",
  "rgb": {
    "r": 170,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 311.163,
    "s": 20.188,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64975,
    "c": 0.07164,
    "h": 333
  },
  "luminance": 0.26333
}

Semantic roles & 50–950 ramp

primary
#AA7FA2
secondary
#BACBBD
accent
#BD7A6B
background
#FCFAFB
surface
#F8F4F6
border
#D1CED0
text
#120F12
muted
#817F81

Preview Lab

Preview with #AA7FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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