#AA2771#AA2771

#AA2771 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.6% C 0.179 H 351.1°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#AA2771
RGBrgb(170, 39, 113)
HSLhsl(326, 63%, 41%)
HSVhsv(326, 77%, 67%)
CMYKcmyk(0%, 77.1%, 33.5%, 33.3%)
CIE-LABlab(39.90, 57.85, -10.70)
CIE-LCHlch(39.90, 58.83, 349.52°)
OKLaboklab(50.57% 0.1772 -0.0278)
OKLCHoklch(50.57% 0.179 351.1)
XYZxyz(20.2849, 11.1918, 16.7116)
Luminance0.1119 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2771 #27AA60
analogous
#A127AA #AA2771 #AA272F
triadic
#AA2771 #71AA27 #2771AA
tetradic
#AA2771 #AAA127 #27AA60 #272FAA
square
#AA2771 #AAA127 #27AA60 #272FAA
split-complementary
#AA2771 #2FAA27 #27AAA1
monochromatic
#46102F #781C50 #AA2771 #D23C91 #DE6EAD

Accessibility & contrast

On white

6.49
#AA2771 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#AA2771 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2771
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2771#FFFFFF#000000##FFFFFF
##AA27711.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4F73
Deuteranopia (green-blind)
#64666E
Tritanopia (blue-blind)
#B71C49
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #aa2771;
/* rgb */ color: rgb(170, 39, 113);
/* oklch */ color: oklch(50.6% 0.179 351.1);
Tailwind
colors: {
  custom: {
    50: '#c86f99',
    500: '#aa2771',
    950: '#000000',
  },
}
SCSS
$custom: #aa2771;
$custom-light: #c86f99;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2771",
  "rgb": {
    "r": 170,
    "g": 39,
    "b": 113
  },
  "hsl": {
    "h": 326.107,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50565,
    "c": 0.17936,
    "h": 351.1
  },
  "luminance": 0.11189
}

Semantic roles & 50–950 ramp

primary
#AA2771
secondary
#69C490
accent
#E68942
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AA2771

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

Preview Lab → · Contrast checker → · Palette generator →

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