#AA277B#AA277B

#AA277B is a mid, vivid pink. Relative luminance 0.114; OKLCH L 51.0% C 0.185 H 346.5°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#AA277B
RGBrgb(170, 39, 123)
HSLhsl(322, 63%, 41%)
HSVhsv(322, 77%, 67%)
CMYKcmyk(0%, 77.1%, 27.6%, 33.3%)
CIE-LABlab(40.29, 59.04, -16.33)
CIE-LCHlch(40.29, 61.26, 344.54°)
OKLaboklab(50.98% 0.1795 -0.0432)
OKLCHoklch(50.98% 0.185 346.5)
XYZxyz(20.8792, 11.4295, 19.8416)
Luminance0.1143 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA277B #27AA56
analogous
#9727AA #AA277B #AA2739
triadic
#AA277B #7BAA27 #277BAA
tetradic
#AA277B #AA9727 #27AA56 #2739AA
square
#AA277B #AA9727 #27AA56 #2739AA
split-complementary
#AA277B #39AA27 #27AA97
monochromatic
#461033 #781C57 #AA277B #D23C9C #DE6EB6

Accessibility & contrast

On white

6.39
#AA277B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#AA277B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA277B
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA277B#FFFFFF#000000##FFFFFF
##AA277B1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A517D
Deuteranopia (green-blind)
#616778
Tritanopia (blue-blind)
#B6234E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #aa277b;
/* rgb */ color: rgb(170, 39, 123);
/* oklch */ color: oklch(51.0% 0.185 346.5);
Tailwind
colors: {
  custom: {
    50: '#c86fa1',
    500: '#aa277b',
    950: '#000000',
  },
}
SCSS
$custom: #aa277b;
$custom-light: #c86fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa277b",
  "rgb": {
    "r": 170,
    "g": 39,
    "b": 123
  },
  "hsl": {
    "h": 321.527,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50979,
    "c": 0.18467,
    "h": 346.5
  },
  "luminance": 0.11427
}

Semantic roles & 50–950 ramp

primary
#AA277B
secondary
#69C489
accent
#E67D42
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080F
muted
#827B7E

Preview Lab

Preview with #AA277B

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

Preview Lab → · Contrast checker → · Palette generator →

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