#AA7EA2#AA7EA2

#AA7EA2 is a light, moderate pink. Relative luminance 0.261; OKLCH L 64.8% C 0.074 H 332.9°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#AA7EA2
RGBrgb(170, 126, 162)
HSLhsl(311, 21%, 58%)
HSVhsv(311, 26%, 67%)
CMYKcmyk(0%, 25.9%, 4.7%, 33.3%)
CIE-LABlab(58.11, 23.09, -12.54)
CIE-LCHlch(58.11, 26.28, 331.50°)
OKLaboklab(64.79% 0.0654 -0.0335)
OKLCHoklch(64.79% 0.074 332.9)
XYZxyz(30.5595, 26.0774, 37.5991)
Luminance0.2608 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7EA2 #7EAA86
analogous
#9C7EAA #AA7EA2 #AA7E8C
triadic
#AA7EA2 #A2AA7E #7EA2AA
tetradic
#AA7EA2 #AA9C7E #7EAA86 #7E8CAA
square
#AA7EA2 #AA9C7E #7EAA86 #7E8CAA
split-complementary
#AA7EA2 #8CAA7E #7EAA9C
monochromatic
#694562 #8E5D85 #AA7EA2 #C2A3BD #DBC8D7

Accessibility & contrast

On white

3.38
#AA7EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#AA7EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7EA2
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7EA2#FFFFFF#000000##000000
##AA7EA21.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa7ea2;
/* rgb */ color: rgb(170, 126, 162);
/* oklch */ color: oklch(64.8% 0.074 332.9);
Tailwind
colors: {
  custom: {
    50: '#c4a3bd',
    500: '#aa7ea2',
    950: '#000000',
  },
}
SCSS
$custom: #aa7ea2;
$custom-light: #c4a3bd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7ea2",
  "rgb": {
    "r": 170,
    "g": 126,
    "b": 162
  },
  "hsl": {
    "h": 310.909,
    "s": 20.561,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64789,
    "c": 0.07352,
    "h": 332.9
  },
  "luminance": 0.26076
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA7EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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