#AA2A6F#AA2A6F

#AA2A6F is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.7% C 0.175 H 352.4°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#AA2A6F
RGBrgb(170, 42, 111)
HSLhsl(328, 60%, 42%)
HSVhsv(328, 75%, 67%)
CMYKcmyk(0%, 75.3%, 34.7%, 33.3%)
CIE-LABlab(40.17, 56.66, -9.05)
CIE-LCHlch(40.17, 57.37, 350.93°)
OKLaboklab(50.74% 0.1736 -0.0233)
OKLCHoklch(50.74% 0.175 352.4)
XYZxyz(20.2760, 11.3521, 16.1593)
Luminance0.1135 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2A6F #2AAA65
analogous
#A52AAA #AA2A6F #AA2A2F
triadic
#AA2A6F #6FAA2A #2A6FAA
tetradic
#AA2A6F #AAA52A #2AAA65 #2A2FAA
square
#AA2A6F #AAA52A #2AAA65 #2A2FAA
split-complementary
#AA2A6F #2FAA2A #2AAAA5
monochromatic
#48122F #791E4F #AA2A6F #D0418E #DC72AB

Accessibility & contrast

On white

6.42
#AA2A6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#AA2A6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2A6F
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2A6F#FFFFFF#000000##FFFFFF
##AA2A6F1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415071
Deuteranopia (green-blind)
#65676C
Tritanopia (blue-blind)
#B71F49
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #aa2a6f;
/* rgb */ color: rgb(170, 42, 111);
/* oklch */ color: oklch(50.7% 0.175 352.4);
Tailwind
colors: {
  custom: {
    50: '#c87098',
    500: '#aa2a6f',
    950: '#000000',
  },
}
SCSS
$custom: #aa2a6f;
$custom-light: #c87098;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2a6f",
  "rgb": {
    "r": 170,
    "g": 42,
    "b": 111
  },
  "hsl": {
    "h": 327.656,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50735,
    "c": 0.17519,
    "h": 352.4
  },
  "luminance": 0.1135
}

Semantic roles & 50–950 ramp

primary
#AA2A6F
secondary
#6CC394
accent
#E48E44
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080D
muted
#827B7E

Preview Lab

Preview with #AA2A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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