#AA2E5B#AA2E5B

#AA2E5B is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.4% C 0.163 H 3.2°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#AA2E5B
RGBrgb(170, 46, 91)
HSLhsl(338, 57%, 42%)
HSVhsv(338, 73%, 67%)
CMYKcmyk(0%, 72.9%, 46.5%, 33.3%)
CIE-LABlab(40.01, 53.19, 3.30)
CIE-LCHlch(40.01, 53.29, 3.55°)
OKLaboklab(50.41% 0.1628 0.009)
OKLCHoklch(50.41% 0.163 3.2)
XYZxyz(19.4444, 11.2579, 11.0446)
Luminance0.1125 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2E5B #2EAA7D
analogous
#AA2E99 #AA2E5B #AA3F2E
triadic
#AA2E5B #5BAA2E #2E5BAA
tetradic
#AA2E5B #99AA2E #2EAA7D #3F2EAA
square
#AA2E5B #99AA2E #2EAA7D #3F2EAA
split-complementary
#AA2E5B #2EAA3F #2E99AA
monochromatic
#4A1427 #7A2141 #AA2E5B #CD4878 #DA789C

Accessibility & contrast

On white

6.46
#AA2E5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#AA2E5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2E5B
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2E5B#FFFFFF#000000##FFFFFF
##AA2E5B1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4F5C
Deuteranopia (green-blind)
#6B6758
Tritanopia (blue-blind)
#B91841
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #aa2e5b;
/* rgb */ color: rgb(170, 46, 91);
/* oklch */ color: oklch(50.4% 0.163 3.2);
Tailwind
colors: {
  custom: {
    50: '#c97189',
    500: '#aa2e5b',
    950: '#000000',
  },
}
SCSS
$custom: #aa2e5b;
$custom-light: #c97189;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2e5b",
  "rgb": {
    "r": 170,
    "g": 46,
    "b": 91
  },
  "hsl": {
    "h": 338.226,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50408,
    "c": 0.16307,
    "h": 3.2
  },
  "luminance": 0.11255
}

Semantic roles & 50–950 ramp

primary
#AA2E5B
secondary
#71C3A5
accent
#E1A947
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AA2E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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