#AA2A6B#AA2A6B

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

Color values

HEX#AA2A6B
RGBrgb(170, 42, 107)
HSLhsl(330, 60%, 42%)
HSVhsv(330, 75%, 67%)
CMYKcmyk(0%, 75.3%, 37.1%, 33.3%)
CIE-LABlab(40.02, 56.21, -6.76)
CIE-LCHlch(40.02, 56.61, 353.15°)
OKLaboklab(50.58% 0.1725 -0.0171)
OKLCHoklch(50.58% 0.173 354.3)
XYZxyz(20.0607, 11.2660, 15.0252)
Luminance0.1126 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2A6B #2AAA69
analogous
#A92AAA #AA2A6B #AA2A2B
triadic
#AA2A6B #6BAA2A #2A6BAA
tetradic
#AA2A6B #AAA92A #2AAA69 #2A2BAA
square
#AA2A6B #AAA92A #2AAA69 #2A2BAA
split-complementary
#AA2A6B #2BAA2A #2AAAA9
monochromatic
#48122D #791E4C #AA2A6B #D0418A #DC72A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA2A6B#FFFFFF#000000##FFFFFF
##AA2A6B1.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)
#434F6D
Deuteranopia (green-blind)
#666768
Tritanopia (blue-blind)
#B81C47
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #aa2a6b;
/* rgb */ color: rgb(170, 42, 107);
/* oklch */ color: oklch(50.6% 0.173 354.3);
Tailwind
colors: {
  custom: {
    50: '#c87095',
    500: '#aa2a6b',
    950: '#000000',
  },
}
SCSS
$custom: #aa2a6b;
$custom-light: #c87095;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2a6b",
  "rgb": {
    "r": 170,
    "g": 42,
    "b": 107
  },
  "hsl": {
    "h": 329.531,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50584,
    "c": 0.17335,
    "h": 354.3
  },
  "luminance": 0.11264
}

Semantic roles & 50–950 ramp

primary
#AA2A6B
secondary
#6CC397
accent
#E49344
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14080D
muted
#827B7E

Preview Lab

Preview with #AA2A6B

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

Preview Lab → · Contrast checker → · Palette generator →

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