#AA4978#AA4978

#AA4978 is a mid, vivid pink. Relative luminance 0.147; OKLCH L 54.5% C 0.137 H 352.4°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AA4978
RGBrgb(170, 73, 120)
HSLhsl(331, 40%, 48%)
HSVhsv(331, 57%, 67%)
CMYKcmyk(0%, 57.1%, 29.4%, 33.3%)
CIE-LABlab(45.18, 44.92, -7.10)
CIE-LCHlch(45.18, 45.48, 351.02°)
OKLaboklab(54.54% 0.1362 -0.0183)
OKLCHoklch(54.54% 0.137 352.4)
XYZxyz(22.3512, 14.6693, 19.4200)
Luminance0.1467 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4978 #49AA7B
analogous
#AA49A8 #AA4978 #AA4A49
triadic
#AA4978 #78AA49 #4978AA
tetradic
#AA4978 #A8AA49 #49AA7B #4A49AA
square
#AA4978 #A8AA49 #49AA7B #4A49AA
split-complementary
#AA4978 #49AA4A #49A8AA
monochromatic
#54243C #7F375A #AA4978 #C16F97 #D49AB6

Accessibility & contrast

On white

5.34
#AA4978 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#AA4978 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4978
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4978#FFFFFF#000000##FFFFFF
##AA49781.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566079
Deuteranopia (green-blind)
#707176
Tritanopia (blue-blind)
#B6445B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #aa4978;
/* rgb */ color: rgb(170, 73, 120);
/* oklch */ color: oklch(54.5% 0.137 352.4);
Tailwind
colors: {
  custom: {
    50: '#c6809f',
    500: '#aa4978',
    950: '#000000',
  },
}
SCSS
$custom: #aa4978;
$custom-light: #c6809f;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4978",
  "rgb": {
    "r": 170,
    "g": 73,
    "b": 120
  },
  "hsl": {
    "h": 330.928,
    "s": 39.918,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54537,
    "c": 0.13745,
    "h": 352.4
  },
  "luminance": 0.14667
}

Semantic roles & 50–950 ramp

primary
#AA4978
secondary
#8FC0A8
accent
#D09658
background
#FCF8F9
surface
#F8EFF2
border
#D1CACC
text
#130A0E
muted
#827C7E

Preview Lab

Preview with #AA4978

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

Preview Lab → · Contrast checker → · Palette generator →

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