#AA2B8C#AA2B8C

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

Color values

HEX#AA2B8C
RGBrgb(170, 43, 140)
HSLhsl(314, 60%, 42%)
HSVhsv(314, 75%, 67%)
CMYKcmyk(0%, 74.7%, 17.6%, 33.3%)
CIE-LABlab(41.48, 60.03, -24.95)
CIE-LCHlch(41.48, 65.01, 337.43°)
OKLaboklab(52.09% 0.1786 -0.0675)
OKLCHoklch(52.09% 0.191 339.3)
XYZxyz(22.1756, 12.1694, 25.9869)
Luminance0.1217 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2B8C #2BAA49
analogous
#892BAA #AA2B8C #AA2B4D
triadic
#AA2B8C #8CAA2B #2B8CAA
tetradic
#AA2B8C #AA892B #2BAA49 #2B4DAA
square
#AA2B8C #AA892B #2BAA49 #2B4DAA
split-complementary
#AA2B8C #4DAA2B #2BAA89
monochromatic
#48123C #791F64 #AA2B8C #CF43AE #DC74C3

Accessibility & contrast

On white

6.12
#AA2B8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AA2B8C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2B8C
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2B8C#FFFFFF#000000##FFFFFF
##AA2B8C1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa2b8c;
/* rgb */ color: rgb(170, 43, 140);
/* oklch */ color: oklch(52.1% 0.191 339.3);
Tailwind
colors: {
  custom: {
    50: '#c771ae',
    500: '#aa2b8c',
    950: '#000000',
  },
}
SCSS
$custom: #aa2b8c;
$custom-light: #c771ae;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2b8c",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 140
  },
  "hsl": {
    "h": 314.173,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52085,
    "c": 0.1909,
    "h": 339.3
  },
  "luminance": 0.12167
}

Semantic roles & 50–950 ramp

primary
#AA2B8C
secondary
#6EC382
accent
#E36A45
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AA2B8C

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

Preview Lab → · Contrast checker → · Palette generator →

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