#AA2B8A#AA2B8A

#AA2B8A is a mid, vivid pink. Relative luminance 0.121; OKLCH L 52.0% C 0.190 H 340.1°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#AA2B8A
RGBrgb(170, 43, 138)
HSLhsl(315, 60%, 42%)
HSVhsv(315, 75%, 67%)
CMYKcmyk(0%, 74.7%, 18.8%, 33.3%)
CIE-LABlab(41.39, 59.75, -23.87)
CIE-LCHlch(41.39, 64.34, 338.22°)
OKLaboklab(51.99% 0.1783 -0.0644)
OKLCHoklch(51.99% 0.19 340.1)
XYZxyz(22.0295, 12.1110, 25.2173)
Luminance0.1211 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2B8A #2BAA4B
analogous
#8B2BAA #AA2B8A #AA2B4B
triadic
#AA2B8A #8AAA2B #2B8AAA
tetradic
#AA2B8A #AA8B2B #2BAA4B #2B4BAA
square
#AA2B8A #AA8B2B #2BAA4B #2B4BAA
split-complementary
#AA2B8A #4BAA2B #2BAA8B
monochromatic
#48123B #791F62 #AA2B8A #CF43AC #DC74C2

Accessibility & contrast

On white

6.14
#AA2B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AA2B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2B8A
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2B8A#FFFFFF#000000##FFFFFF
##AA2B8A1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34558D
Deuteranopia (green-blind)
#5D6987
Tritanopia (blue-blind)
#B42F57
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa2b8a;
/* rgb */ color: rgb(170, 43, 138);
/* oklch */ color: oklch(52.0% 0.190 340.1);
Tailwind
colors: {
  custom: {
    50: '#c771ac',
    500: '#aa2b8a',
    950: '#000000',
  },
}
SCSS
$custom: #aa2b8a;
$custom-light: #c771ac;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2b8a",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 315.118,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51988,
    "c": 0.18958,
    "h": 340.1
  },
  "luminance": 0.12109
}

Semantic roles & 50–950 ramp

primary
#AA2B8A
secondary
#6EC383
accent
#E36D45
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AA2B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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