#AA277F#AA277F

#AA277F is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.2% C 0.187 H 344.7°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#AA277F
RGBrgb(170, 39, 127)
HSLhsl(320, 63%, 41%)
HSVhsv(320, 77%, 67%)
CMYKcmyk(0%, 77.1%, 25.3%, 33.3%)
CIE-LABlab(40.46, 59.55, -18.55)
CIE-LCHlch(40.46, 62.37, 342.70°)
OKLaboklab(51.15% 0.1803 -0.0494)
OKLCHoklch(51.15% 0.187 344.7)
XYZxyz(21.1347, 11.5317, 21.1874)
Luminance0.1153 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA277F #27AA52
analogous
#9327AA #AA277F #AA273D
triadic
#AA277F #7FAA27 #277FAA
tetradic
#AA277F #AA9327 #27AA52 #273DAA
square
#AA277F #AA9327 #27AA52 #273DAA
split-complementary
#AA277F #3DAA27 #27AA93
monochromatic
#461035 #781C5A #AA277F #D23CA1 #DE6EB9

Accessibility & contrast

On white

6.35
#AA277F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#AA277F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA277F
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA277F#FFFFFF#000000##FFFFFF
##AA277F1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385181
Deuteranopia (green-blind)
#60677C
Tritanopia (blue-blind)
#B62550
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #aa277f;
/* rgb */ color: rgb(170, 39, 127);
/* oklch */ color: oklch(51.2% 0.187 344.7);
Tailwind
colors: {
  custom: {
    50: '#c76fa4',
    500: '#aa277f',
    950: '#000000',
  },
}
SCSS
$custom: #aa277f;
$custom-light: #c76fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa277f",
  "rgb": {
    "r": 170,
    "g": 39,
    "b": 127
  },
  "hsl": {
    "h": 319.695,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51155,
    "c": 0.18698,
    "h": 344.7
  },
  "luminance": 0.11529
}

Semantic roles & 50–950 ramp

primary
#AA277F
secondary
#69C487
accent
#E67842
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AA277F

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

Preview Lab → · Contrast checker → · Palette generator →

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