#AA4871#AA4871

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

Color values

HEX#AA4871
RGBrgb(170, 72, 113)
HSLhsl(335, 40%, 47%)
HSVhsv(335, 58%, 67%)
CMYKcmyk(0%, 57.6%, 33.5%, 33.3%)
CIE-LABlab(44.77, 44.50, -3.43)
CIE-LCHlch(44.77, 44.63, 355.59°)
OKLaboklab(54.16% 0.1354 -0.0085)
OKLCHoklch(54.16% 0.136 356.4)
XYZxyz(21.8766, 14.3752, 17.2422)
Luminance0.1437 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4871 #48AA81
analogous
#AA48A2 #AA4871 #AA5048
triadic
#AA4871 #71AA48 #4871AA
tetradic
#AA4871 #A2AA48 #48AA81 #5048AA
square
#AA4871 #A2AA48 #48AA81 #5048AA
split-complementary
#AA4871 #48AA50 #48A2AA
monochromatic
#542438 #7F3654 #AA4871 #C16E91 #D499B1

Accessibility & contrast

On white

5.42
#AA4871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#AA4871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4871
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4871#FFFFFF#000000##FFFFFF
##AA48711.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575F72
Deuteranopia (green-blind)
#71716F
Tritanopia (blue-blind)
#B64158
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #aa4871;
/* rgb */ color: rgb(170, 72, 113);
/* oklch */ color: oklch(54.2% 0.136 356.4);
Tailwind
colors: {
  custom: {
    50: '#c77f99',
    500: '#aa4871',
    950: '#000000',
  },
}
SCSS
$custom: #aa4871;
$custom-light: #c77f99;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4871",
  "rgb": {
    "r": 170,
    "g": 72,
    "b": 113
  },
  "hsl": {
    "h": 334.898,
    "s": 40.496,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54155,
    "c": 0.1357,
    "h": 356.4
  },
  "luminance": 0.14373
}

Semantic roles & 50–950 ramp

primary
#AA4871
secondary
#8EC0AB
accent
#D09E57
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#130A0E
muted
#827C7E

Preview Lab

Preview with #AA4871

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

Preview Lab → · Contrast checker → · Palette generator →

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