#AA2C8C#AA2C8C

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

Color values

HEX#AA2C8C
RGBrgb(170, 44, 140)
HSLhsl(314, 59%, 42%)
HSVhsv(314, 74%, 67%)
CMYKcmyk(0%, 74.1%, 17.6%, 33.3%)
CIE-LABlab(41.60, 59.71, -24.77)
CIE-LCHlch(41.60, 64.64, 337.47°)
OKLaboklab(52.17% 0.1776 -0.067)
OKLCHoklch(52.17% 0.19 339.3)
XYZxyz(22.2124, 12.2430, 25.9992)
Luminance0.1224 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2C8C #2CAA4A
analogous
#892CAA #AA2C8C #AA2C4D
triadic
#AA2C8C #8CAA2C #2C8CAA
tetradic
#AA2C8C #AA892C #2CAA4A #2C4DAA
square
#AA2C8C #AA892C #2CAA4A #2C4DAA
split-complementary
#AA2C8C #4DAA2C #2CAA89
monochromatic
#49133C #791F64 #AA2C8C #CF44AE #DB75C3

Accessibility & contrast

On white

6.09
#AA2C8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA2C8C
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2C8C#FFFFFF#000000##FFFFFF
##AA2C8C1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa2c8c;
/* rgb */ color: rgb(170, 44, 140);
/* oklch */ color: oklch(52.2% 0.190 339.3);
Tailwind
colors: {
  custom: {
    50: '#c772ae',
    500: '#aa2c8c',
    950: '#000000',
  },
}
SCSS
$custom: #aa2c8c;
$custom-light: #c772ae;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2c8c",
  "rgb": {
    "r": 170,
    "g": 44,
    "b": 140
  },
  "hsl": {
    "h": 314.286,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52168,
    "c": 0.18979,
    "h": 339.3
  },
  "luminance": 0.12241
}

Semantic roles & 50–950 ramp

primary
#AA2C8C
secondary
#6FC383
accent
#E26B46
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AA2C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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