#AA2B8D#AA2B8D

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

Color values

HEX#AA2B8D
RGBrgb(170, 43, 141)
HSLhsl(314, 60%, 42%)
HSVhsv(314, 75%, 67%)
CMYKcmyk(0%, 74.7%, 17.1%, 33.3%)
CIE-LABlab(41.53, 60.18, -25.49)
CIE-LCHlch(41.53, 65.35, 337.05°)
OKLaboklab(52.13% 0.1787 -0.069)
OKLCHoklch(52.13% 0.192 338.9)
XYZxyz(22.2497, 12.1990, 26.3770)
Luminance0.1220 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2B8D #2BAA48
analogous
#882BAA #AA2B8D #AA2B4E
triadic
#AA2B8D #8DAA2B #2B8DAA
tetradic
#AA2B8D #AA882B #2BAA48 #2B4EAA
square
#AA2B8D #AA882B #2BAA48 #2B4EAA
split-complementary
#AA2B8D #4EAA2B #2BAA88
monochromatic
#48123C #791F64 #AA2B8D #CF43AF #DC74C4

Accessibility & contrast

On white

6.11
#AA2B8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AA2B8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2B8D
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2B8D#FFFFFF#000000##FFFFFF
##AA2B8D1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa2b8d;
/* rgb */ color: rgb(170, 43, 141);
/* oklch */ color: oklch(52.1% 0.192 338.9);
Tailwind
colors: {
  custom: {
    50: '#c771ae',
    500: '#aa2b8d',
    950: '#000000',
  },
}
SCSS
$custom: #aa2b8d;
$custom-light: #c771ae;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2b8d",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 313.701,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52133,
    "c": 0.19157,
    "h": 338.9
  },
  "luminance": 0.12197
}

Semantic roles & 50–950 ramp

primary
#AA2B8D
secondary
#6EC381
accent
#E36945
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AA2B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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