#AA278A#AA278A

#AA278A is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.7% C 0.194 H 340.0°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#AA278A
RGBrgb(170, 39, 138)
HSLhsl(315, 63%, 41%)
HSVhsv(315, 77%, 67%)
CMYKcmyk(0%, 77.1%, 18.8%, 33.3%)
CIE-LABlab(40.95, 61.01, -24.55)
CIE-LCHlch(40.95, 65.76, 338.08°)
OKLaboklab(51.67% 0.1821 -0.0664)
OKLCHoklch(51.67% 0.194 340)
XYZxyz(21.8912, 11.8343, 25.1712)
Luminance0.1183 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA278A #27AA47
analogous
#8827AA #AA278A #AA2749
triadic
#AA278A #8AAA27 #278AAA
tetradic
#AA278A #AA8827 #27AA47 #2749AA
square
#AA278A #AA8827 #27AA47 #2749AA
split-complementary
#AA278A #49AA27 #27AA88
monochromatic
#461039 #781C62 #AA278A #D23CAE #DE6EC2

Accessibility & contrast

On white

6.24
#AA278A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AA278A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA278A
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA278A#FFFFFF#000000##FFFFFF
##AA278A1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31538D
Deuteranopia (green-blind)
#5C6887
Tritanopia (blue-blind)
#B42C56
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa278a;
/* rgb */ color: rgb(170, 39, 138);
/* oklch */ color: oklch(51.7% 0.194 340.0);
Tailwind
colors: {
  custom: {
    50: '#c770ac',
    500: '#aa278a',
    950: '#000000',
  },
}
SCSS
$custom: #aa278a;
$custom-light: #c770ac;
$custom-dark: #000000;
JSON
{
  "hex": "#aa278a",
  "rgb": {
    "r": 170,
    "g": 39,
    "b": 138
  },
  "hsl": {
    "h": 314.656,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51669,
    "c": 0.1938,
    "h": 340
  },
  "luminance": 0.11832
}

Semantic roles & 50–950 ramp

primary
#AA278A
secondary
#69C47F
accent
#E66A42
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AA278A

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

Preview Lab → · Contrast checker → · Palette generator →

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