#AA2A8C#AA2A8C

#AA2A8C is a mid, vivid pink. Relative luminance 0.121; OKLCH L 52.0% C 0.192 H 339.3°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#AA2A8C
RGBrgb(170, 42, 140)
HSLhsl(314, 60%, 42%)
HSVhsv(314, 75%, 67%)
CMYKcmyk(0%, 75.3%, 17.6%, 33.3%)
CIE-LABlab(41.37, 60.36, -25.12)
CIE-LCHlch(41.37, 65.38, 337.40°)
OKLaboklab(52% 0.1795 -0.068)
OKLCHoklch(52% 0.192 339.3)
XYZxyz(22.1397, 12.0976, 25.9749)
Luminance0.1210 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2A8C #2AAA48
analogous
#882AAA #AA2A8C #AA2A4C
triadic
#AA2A8C #8CAA2A #2A8CAA
tetradic
#AA2A8C #AA882A #2AAA48 #2A4CAA
square
#AA2A8C #AA882A #2AAA48 #2A4CAA
split-complementary
#AA2A8C #4CAA2A #2AAA88
monochromatic
#48123B #791E64 #AA2A8C #D041AF #DC72C3

Accessibility & contrast

On white

6.14
#AA2A8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AA2A8C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2A8C
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2A8C#FFFFFF#000000##FFFFFF
##AA2A8C1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32558F
Deuteranopia (green-blind)
#5C6989
Tritanopia (blue-blind)
#B42F58
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa2a8c;
/* rgb */ color: rgb(170, 42, 140);
/* oklch */ color: oklch(52.0% 0.192 339.3);
Tailwind
colors: {
  custom: {
    50: '#c771ae',
    500: '#aa2a8c',
    950: '#000000',
  },
}
SCSS
$custom: #aa2a8c;
$custom-light: #c771ae;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2a8c",
  "rgb": {
    "r": 170,
    "g": 42,
    "b": 140
  },
  "hsl": {
    "h": 314.063,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52003,
    "c": 0.19198,
    "h": 339.3
  },
  "luminance": 0.12095
}

Semantic roles & 50–950 ramp

primary
#AA2A8C
secondary
#6CC381
accent
#E46A44
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AA2A8C

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

Preview Lab → · Contrast checker → · Palette generator →

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