#AA2B9F#AA2B9F

#AA2B9F is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.1% C 0.204 H 331.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#AA2B9F
RGBrgb(170, 43, 159)
HSLhsl(305, 60%, 42%)
HSVhsv(305, 75%, 67%)
CMYKcmyk(0%, 74.7%, 6.5%, 33.3%)
CIE-LABlab(42.43, 62.86, -34.96)
CIE-LCHlch(42.43, 71.93, 330.92°)
OKLaboklab(53.07% 0.1802 -0.0962)
OKLCHoklch(53.07% 0.204 331.9)
XYZxyz(23.6995, 12.7790, 34.0125)
Luminance0.1278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2B9F #2BAA36
analogous
#762BAA #AA2B9F #AA2B60
triadic
#AA2B9F #9FAA2B #2B9FAA
tetradic
#AA2B9F #AA762B #2BAA36 #2B60AA
square
#AA2B9F #AA762B #2BAA36 #2B60AA
split-complementary
#AA2B9F #60AA2B #2BAA76
monochromatic
#481244 #791F71 #AA2B9F #CF43C3 #DC74D3

Accessibility & contrast

On white

5.91
#AA2B9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AA2B9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2B9F
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2B9F#FFFFFF#000000##FFFFFF
##AA2B9F1.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2259A2
Deuteranopia (green-blind)
#546A9C
Tritanopia (blue-blind)
#B13A63
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa2b9f;
/* rgb */ color: rgb(170, 43, 159);
/* oklch */ color: oklch(53.1% 0.204 331.9);
Tailwind
colors: {
  custom: {
    50: '#c772bc',
    500: '#aa2b9f',
    950: '#000000',
  },
}
SCSS
$custom: #aa2b9f;
$custom-light: #c772bc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2b9f",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 159
  },
  "hsl": {
    "h": 305.197,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53071,
    "c": 0.20427,
    "h": 331.9
  },
  "luminance": 0.12777
}

Semantic roles & 50–950 ramp

primary
#AA2B9F
secondary
#6EC375
accent
#E35345
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AA2B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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