#AA4872#AA4872

#AA4872 is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.2% C 0.136 H 355.8°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#AA4872
RGBrgb(170, 72, 114)
HSLhsl(334, 40%, 47%)
HSVhsv(334, 58%, 67%)
CMYKcmyk(0%, 57.6%, 32.9%, 33.3%)
CIE-LABlab(44.80, 44.62, -4.00)
CIE-LCHlch(44.80, 44.80, 354.88°)
OKLaboklab(54.19% 0.1358 -0.01)
OKLCHoklch(54.19% 0.136 355.8)
XYZxyz(21.9333, 14.3979, 17.5403)
Luminance0.1440 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4872 #48AA80
analogous
#AA48A3 #AA4872 #AA4F48
triadic
#AA4872 #72AA48 #4872AA
tetradic
#AA4872 #A3AA48 #48AA80 #4F48AA
square
#AA4872 #A3AA48 #48AA80 #4F48AA
split-complementary
#AA4872 #48AA4F #48A3AA
monochromatic
#542438 #7F3655 #AA4872 #C16E92 #D499B2

Accessibility & contrast

On white

5.41
#AA4872 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#AA4872 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4872
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4872#FFFFFF#000000##FFFFFF
##AA48721.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575F73
Deuteranopia (green-blind)
#717170
Tritanopia (blue-blind)
#B64158
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #aa4872;
/* rgb */ color: rgb(170, 72, 114);
/* oklch */ color: oklch(54.2% 0.136 355.8);
Tailwind
colors: {
  custom: {
    50: '#c67f9a',
    500: '#aa4872',
    950: '#000000',
  },
}
SCSS
$custom: #aa4872;
$custom-light: #c67f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4872",
  "rgb": {
    "r": 170,
    "g": 72,
    "b": 114
  },
  "hsl": {
    "h": 334.286,
    "s": 40.496,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54189,
    "c": 0.13614,
    "h": 355.8
  },
  "luminance": 0.14396
}

Semantic roles & 50–950 ramp

primary
#AA4872
secondary
#8EC0AA
accent
#D09D57
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#130A0E
muted
#827C7E

Preview Lab

Preview with #AA4872

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

Preview Lab → · Contrast checker → · Palette generator →

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