#AA278B#AA278B

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

Color values

HEX#AA278B
RGBrgb(170, 39, 139)
HSLhsl(314, 63%, 41%)
HSVhsv(314, 77%, 67%)
CMYKcmyk(0%, 77.1%, 18.2%, 33.3%)
CIE-LABlab(41.00, 61.15, -25.09)
CIE-LCHlch(41.00, 66.09, 337.69°)
OKLaboklab(51.72% 0.1822 -0.0679)
OKLCHoklch(51.72% 0.194 339.6)
XYZxyz(21.9639, 11.8634, 25.5542)
Luminance0.1186 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA278B #27AA46
analogous
#8727AA #AA278B #AA274A
triadic
#AA278B #8BAA27 #278BAA
tetradic
#AA278B #AA8727 #27AA46 #274AAA
square
#AA278B #AA8727 #27AA46 #274AAA
split-complementary
#AA278B #4AAA27 #27AA87
monochromatic
#46103A #781C62 #AA278B #D23CAF #DE6EC3

Accessibility & contrast

On white

6.23
#AA278B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA278B
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA278B#FFFFFF#000000##FFFFFF
##AA278B1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30548E
Deuteranopia (green-blind)
#5C6888
Tritanopia (blue-blind)
#B42C57
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa278b;
/* rgb */ color: rgb(170, 39, 139);
/* oklch */ color: oklch(51.7% 0.194 339.6);
Tailwind
colors: {
  custom: {
    50: '#c770ad',
    500: '#aa278b',
    950: '#000000',
  },
}
SCSS
$custom: #aa278b;
$custom-light: #c770ad;
$custom-dark: #000000;
JSON
{
  "hex": "#aa278b",
  "rgb": {
    "r": 170,
    "g": 39,
    "b": 139
  },
  "hsl": {
    "h": 314.198,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51718,
    "c": 0.19445,
    "h": 339.6
  },
  "luminance": 0.11861
}

Semantic roles & 50–950 ramp

primary
#AA278B
secondary
#69C47E
accent
#E66942
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AA278B

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

Preview Lab → · Contrast checker → · Palette generator →

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