#AA2D8C#AA2D8C

#AA2D8C is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.3% C 0.189 H 339.4°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#AA2D8C
RGBrgb(170, 45, 140)
HSLhsl(314, 58%, 42%)
HSVhsv(314, 74%, 67%)
CMYKcmyk(0%, 73.5%, 17.6%, 33.3%)
CIE-LABlab(41.72, 59.37, -24.59)
CIE-LCHlch(41.72, 64.26, 337.51°)
OKLaboklab(52.25% 0.1766 -0.0665)
OKLCHoklch(52.25% 0.189 339.4)
XYZxyz(22.2501, 12.3184, 26.0117)
Luminance0.1232 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2D8C #2DAA4B
analogous
#8A2DAA #AA2D8C #AA2D4E
triadic
#AA2D8C #8CAA2D #2D8CAA
tetradic
#AA2D8C #AA8A2D #2DAA4B #2D4EAA
square
#AA2D8C #AA8A2D #2DAA4B #2D4EAA
split-complementary
#AA2D8C #4EAA2D #2DAA8A
monochromatic
#49133C #7A2064 #AA2D8C #CE46AD #DB77C3

Accessibility & contrast

On white

6.06
#AA2D8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AA2D8C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2D8C
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2D8C#FFFFFF#000000##FFFFFF
##AA2D8C1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35568F
Deuteranopia (green-blind)
#5D6989
Tritanopia (blue-blind)
#B43259
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa2d8c;
/* rgb */ color: rgb(170, 45, 140);
/* oklch */ color: oklch(52.3% 0.189 339.4);
Tailwind
colors: {
  custom: {
    50: '#c772ae',
    500: '#aa2d8c',
    950: '#000000',
  },
}
SCSS
$custom: #aa2d8c;
$custom-light: #c772ae;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2d8c",
  "rgb": {
    "r": 170,
    "g": 45,
    "b": 140
  },
  "hsl": {
    "h": 314.4,
    "s": 58.14,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52254,
    "c": 0.18866,
    "h": 339.4
  },
  "luminance": 0.12316
}

Semantic roles & 50–950 ramp

primary
#AA2D8C
secondary
#70C384
accent
#E16C46
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AA2D8C

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

Preview Lab → · Contrast checker → · Palette generator →

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