#AA277D#AA277D

#AA277D is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.1% C 0.186 H 345.6°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#AA277D
RGBrgb(170, 39, 125)
HSLhsl(321, 63%, 41%)
HSVhsv(321, 77%, 67%)
CMYKcmyk(0%, 77.1%, 26.5%, 33.3%)
CIE-LABlab(40.38, 59.29, -17.44)
CIE-LCHlch(40.38, 61.80, 343.61°)
OKLaboklab(51.07% 0.18 -0.0463)
OKLCHoklch(51.07% 0.186 345.6)
XYZxyz(21.0057, 11.4801, 20.5077)
Luminance0.1148 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA277D #27AA54
analogous
#9527AA #AA277D #AA273B
triadic
#AA277D #7DAA27 #277DAA
tetradic
#AA277D #AA9527 #27AA54 #273BAA
square
#AA277D #AA9527 #27AA54 #273BAA
split-complementary
#AA277D #3BAA27 #27AA95
monochromatic
#461034 #781C58 #AA277D #D23C9F #DE6EB7

Accessibility & contrast

On white

6.37
#AA277D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#AA277D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA277D
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA277D#FFFFFF#000000##FFFFFF
##AA277D1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39517F
Deuteranopia (green-blind)
#61677A
Tritanopia (blue-blind)
#B6244F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #aa277d;
/* rgb */ color: rgb(170, 39, 125);
/* oklch */ color: oklch(51.1% 0.186 345.6);
Tailwind
colors: {
  custom: {
    50: '#c86fa2',
    500: '#aa277d',
    950: '#000000',
  },
}
SCSS
$custom: #aa277d;
$custom-light: #c86fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa277d",
  "rgb": {
    "r": 170,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 320.611,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51067,
    "c": 0.18582,
    "h": 345.6
  },
  "luminance": 0.11478
}

Semantic roles & 50–950 ramp

primary
#AA277D
secondary
#69C488
accent
#E67A42
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AA277D

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

Preview Lab → · Contrast checker → · Palette generator →

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