#AA2E7C#AA2E7C

#AA2E7C is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.6% C 0.177 H 346.5°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AA2E7C
RGBrgb(170, 46, 124)
HSLhsl(322, 57%, 42%)
HSVhsv(322, 73%, 67%)
CMYKcmyk(0%, 72.9%, 27.1%, 33.3%)
CIE-LABlab(41.15, 56.87, -15.64)
CIE-LCHlch(41.15, 58.98, 344.62°)
OKLaboklab(51.61% 0.1726 -0.0414)
OKLCHoklch(51.61% 0.178 346.5)
XYZxyz(21.1936, 11.9576, 20.2568)
Luminance0.1196 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2E7C #2EAA5C
analogous
#9A2EAA #AA2E7C #AA2E3E
triadic
#AA2E7C #7CAA2E #2E7CAA
tetradic
#AA2E7C #AA9A2E #2EAA5C #2E3EAA
square
#AA2E7C #AA9A2E #2EAA5C #2E3EAA
split-complementary
#AA2E7C #3EAA2E #2EAA9A
monochromatic
#4A1436 #7A2159 #AA2E7C #CD489C #DA78B6

Accessibility & contrast

On white

6.19
#AA2E7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AA2E7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2E7C
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2E7C#FFFFFF#000000##FFFFFF
##AA2E7C1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E537E
Deuteranopia (green-blind)
#636979
Tritanopia (blue-blind)
#B62B51
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa2e7c;
/* rgb */ color: rgb(170, 46, 124);
/* oklch */ color: oklch(51.6% 0.177 346.5);
Tailwind
colors: {
  custom: {
    50: '#c772a2',
    500: '#aa2e7c',
    950: '#000000',
  },
}
SCSS
$custom: #aa2e7c;
$custom-light: #c772a2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2e7c",
  "rgb": {
    "r": 170,
    "g": 46,
    "b": 124
  },
  "hsl": {
    "h": 322.258,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51614,
    "c": 0.1775,
    "h": 346.5
  },
  "luminance": 0.11955
}

Semantic roles & 50–950 ramp

primary
#AA2E7C
secondary
#71C38F
accent
#E18047
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090F
muted
#827B7E

Preview Lab

Preview with #AA2E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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