#AA798F#AA798F

#AA798F is a light, moderate pink. Relative luminance 0.242; OKLCH L 63.2% C 0.068 H 350.6°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#AA798F
RGBrgb(170, 121, 143)
HSLhsl(333, 22%, 57%)
HSVhsv(333, 29%, 67%)
CMYKcmyk(0%, 28.8%, 15.9%, 33.3%)
CIE-LABlab(56.29, 22.56, -4.27)
CIE-LCHlch(56.29, 22.96, 349.28°)
OKLaboklab(63.19% 0.0669 -0.011)
OKLCHoklch(63.19% 0.068 350.6)
XYZxyz(28.3730, 24.2053, 29.1588)
Luminance0.2420 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA798F #79AA94
analogous
#AA79A8 #AA798F #AA7C79
triadic
#AA798F #8FAA79 #798FAA
tetradic
#AA798F #A8AA79 #79AA94 #7C79AA
square
#AA798F #A8AA79 #79AA94 #7C79AA
split-complementary
#AA798F #79AA7C #79A8AA
monochromatic
#674152 #8D5970 #AA798F #C29EAE #DAC4CE

Accessibility & contrast

On white

3.60
#AA798F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#AA798F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA798F
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA798F#FFFFFF#000000##000000
##AA798F1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8290
Deuteranopia (green-blind)
#898A8E
Tritanopia (blue-blind)
#B17880
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #aa798f;
/* rgb */ color: rgb(170, 121, 143);
/* oklch */ color: oklch(63.2% 0.068 350.6);
Tailwind
colors: {
  custom: {
    50: '#c4a0af',
    500: '#aa798f',
    950: '#000000',
  },
}
SCSS
$custom: #aa798f;
$custom-light: #c4a0af;
$custom-dark: #000000;
JSON
{
  "hex": "#aa798f",
  "rgb": {
    "r": 170,
    "g": 121,
    "b": 143
  },
  "hsl": {
    "h": 333.061,
    "s": 22.374,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63194,
    "c": 0.06777,
    "h": 350.6
  },
  "luminance": 0.24204
}

Semantic roles & 50–950 ramp

primary
#AA798F
secondary
#B5C9C0
accent
#BF9869
background
#FCF9FA
surface
#F8F2F4
border
#D1CCCE
text
#130E10
muted
#827E7F

Preview Lab

Preview with #AA798F

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

Preview Lab → · Contrast checker → · Palette generator →

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