#AA2C8D#AA2C8D

#AA2C8D is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.2% C 0.190 H 338.9°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#AA2C8D
RGBrgb(170, 44, 141)
HSLhsl(314, 59%, 42%)
HSVhsv(314, 74%, 67%)
CMYKcmyk(0%, 74.1%, 17.1%, 33.3%)
CIE-LABlab(41.65, 59.85, -25.31)
CIE-LCHlch(41.65, 64.98, 337.08°)
OKLaboklab(52.22% 0.1777 -0.0685)
OKLCHoklch(52.22% 0.19 338.9)
XYZxyz(22.2865, 12.2726, 26.3893)
Luminance0.1227 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2C8D #2CAA49
analogous
#882CAA #AA2C8D #AA2C4E
triadic
#AA2C8D #8DAA2C #2C8DAA
tetradic
#AA2C8D #AA882C #2CAA49 #2C4EAA
square
#AA2C8D #AA882C #2CAA49 #2C4EAA
split-complementary
#AA2C8D #4EAA2C #2CAA88
monochromatic
#49133C #791F65 #AA2C8D #CF44AF #DB75C4

Accessibility & contrast

On white

6.08
#AA2C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AA2C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2C8D
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2C8D#FFFFFF#000000##FFFFFF
##AA2C8D1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335690
Deuteranopia (green-blind)
#5D698A
Tritanopia (blue-blind)
#B43159
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa2c8d;
/* rgb */ color: rgb(170, 44, 141);
/* oklch */ color: oklch(52.2% 0.190 338.9);
Tailwind
colors: {
  custom: {
    50: '#c772ae',
    500: '#aa2c8d',
    950: '#000000',
  },
}
SCSS
$custom: #aa2c8d;
$custom-light: #c772ae;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2c8d",
  "rgb": {
    "r": 170,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 313.81,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52217,
    "c": 0.19046,
    "h": 338.9
  },
  "luminance": 0.1227
}

Semantic roles & 50–950 ramp

primary
#AA2C8D
secondary
#6FC382
accent
#E26A46
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AA2C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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