#AA2A8F#AA2A8F

#AA2A8F is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.2% C 0.194 H 338.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AA2A8F
RGBrgb(170, 42, 143)
HSLhsl(313, 60%, 42%)
HSVhsv(313, 75%, 67%)
CMYKcmyk(0%, 75.3%, 15.9%, 33.3%)
CIE-LABlab(41.51, 60.78, -26.73)
CIE-LCHlch(41.51, 66.40, 336.26°)
OKLaboklab(52.15% 0.1799 -0.0726)
OKLCHoklch(52.15% 0.194 338)
XYZxyz(22.3639, 12.1873, 27.1558)
Luminance0.1218 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2A8F #2AAA45
analogous
#852AAA #AA2A8F #AA2A4F
triadic
#AA2A8F #8FAA2A #2A8FAA
tetradic
#AA2A8F #AA852A #2AAA45 #2A4FAA
square
#AA2A8F #AA852A #2AAA45 #2A4FAA
split-complementary
#AA2A8F #4FAA2A #2AAA85
monochromatic
#48123C #791E66 #AA2A8F #D041B2 #DC72C6

Accessibility & contrast

On white

6.11
#AA2A8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AA2A8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2A8F
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2A8F#FFFFFF#000000##FFFFFF
##AA2A8F1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305592
Deuteranopia (green-blind)
#5B698C
Tritanopia (blue-blind)
#B4315A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa2a8f;
/* rgb */ color: rgb(170, 42, 143);
/* oklch */ color: oklch(52.2% 0.194 338.0);
Tailwind
colors: {
  custom: {
    50: '#c771b0',
    500: '#aa2a8f',
    950: '#000000',
  },
}
SCSS
$custom: #aa2a8f;
$custom-light: #c771b0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2a8f",
  "rgb": {
    "r": 170,
    "g": 42,
    "b": 143
  },
  "hsl": {
    "h": 312.656,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52151,
    "c": 0.19399,
    "h": 338
  },
  "luminance": 0.12185
}

Semantic roles & 50–950 ramp

primary
#AA2A8F
secondary
#6CC37F
accent
#E46644
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AA2A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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