#AA2B71#AA2B71

#AA2B71 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.9% C 0.175 H 351.5°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#AA2B71
RGBrgb(170, 43, 113)
HSLhsl(327, 60%, 42%)
HSVhsv(327, 75%, 67%)
CMYKcmyk(0%, 74.7%, 33.5%, 33.3%)
CIE-LABlab(40.36, 56.55, -10.01)
CIE-LCHlch(40.36, 57.43, 349.96°)
OKLaboklab(50.9% 0.1731 -0.0259)
OKLCHoklch(50.9% 0.175 351.5)
XYZxyz(20.4233, 11.4685, 16.7577)
Luminance0.1147 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2B71 #2BAA64
analogous
#A42BAA #AA2B71 #AA2B32
triadic
#AA2B71 #71AA2B #2B71AA
tetradic
#AA2B71 #AAA42B #2BAA64 #2B32AA
square
#AA2B71 #AAA42B #2BAA64 #2B32AA
split-complementary
#AA2B71 #32AA2B #2BAAA4
monochromatic
#481230 #791F51 #AA2B71 #CF4390 #DC74AD

Accessibility & contrast

On white

6.38
#AA2B71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#AA2B71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2B71
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2B71#FFFFFF#000000##FFFFFF
##AA2B711.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415173
Deuteranopia (green-blind)
#65676E
Tritanopia (blue-blind)
#B7214A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #aa2b71;
/* rgb */ color: rgb(170, 43, 113);
/* oklch */ color: oklch(50.9% 0.175 351.5);
Tailwind
colors: {
  custom: {
    50: '#c87099',
    500: '#aa2b71',
    950: '#000000',
  },
}
SCSS
$custom: #aa2b71;
$custom-light: #c87099;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2b71",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 326.929,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50898,
    "c": 0.17505,
    "h": 351.5
  },
  "luminance": 0.11466
}

Semantic roles & 50–950 ramp

primary
#AA2B71
secondary
#6EC394
accent
#E38C45
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AA2B71

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

Preview Lab → · Contrast checker → · Palette generator →

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