#AA277A#AA277A

#AA277A is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.9% C 0.184 H 346.9°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#AA277A
RGBrgb(170, 39, 122)
HSLhsl(322, 63%, 41%)
HSVhsv(322, 77%, 67%)
CMYKcmyk(0%, 77.1%, 28.2%, 33.3%)
CIE-LABlab(40.25, 58.92, -15.77)
CIE-LCHlch(40.25, 60.99, 345.01°)
OKLaboklab(50.94% 0.1793 -0.0417)
OKLCHoklch(50.94% 0.184 346.9)
XYZxyz(20.8169, 11.4046, 19.5136)
Luminance0.1140 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA277A #27AA57
analogous
#9827AA #AA277A #AA2738
triadic
#AA277A #7AAA27 #277AAA
tetradic
#AA277A #AA9827 #27AA57 #2738AA
square
#AA277A #AA9827 #27AA57 #2738AA
split-complementary
#AA277A #38AA27 #27AA98
monochromatic
#461033 #781C56 #AA277A #D23C9B #DE6EB5

Accessibility & contrast

On white

6.40
#AA277A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#AA277A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA277A
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA277A#FFFFFF#000000##FFFFFF
##AA277A1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A517C
Deuteranopia (green-blind)
#616777
Tritanopia (blue-blind)
#B6224D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #aa277a;
/* rgb */ color: rgb(170, 39, 122);
/* oklch */ color: oklch(50.9% 0.184 346.9);
Tailwind
colors: {
  custom: {
    50: '#c86fa0',
    500: '#aa277a',
    950: '#000000',
  },
}
SCSS
$custom: #aa277a;
$custom-light: #c86fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa277a",
  "rgb": {
    "r": 170,
    "g": 39,
    "b": 122
  },
  "hsl": {
    "h": 321.985,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50936,
    "c": 0.18411,
    "h": 346.9
  },
  "luminance": 0.11402
}

Semantic roles & 50–950 ramp

primary
#AA277A
secondary
#69C48A
accent
#E67E42
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AA277A

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

Preview Lab → · Contrast checker → · Palette generator →

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