#AA2A8E#AA2A8E

#AA2A8E is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.1% C 0.193 H 338.4°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#AA2A8E
RGBrgb(170, 42, 142)
HSLhsl(313, 60%, 42%)
HSVhsv(313, 75%, 67%)
CMYKcmyk(0%, 75.3%, 16.5%, 33.3%)
CIE-LABlab(41.46, 60.64, -26.20)
CIE-LCHlch(41.46, 66.06, 336.63°)
OKLaboklab(52.1% 0.1798 -0.071)
OKLCHoklch(52.1% 0.193 338.4)
XYZxyz(22.2885, 12.1571, 26.7587)
Luminance0.1216 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2A8E #2AAA46
analogous
#862AAA #AA2A8E #AA2A4E
triadic
#AA2A8E #8EAA2A #2A8EAA
tetradic
#AA2A8E #AA862A #2AAA46 #2A4EAA
square
#AA2A8E #AA862A #2AAA46 #2A4EAA
split-complementary
#AA2A8E #4EAA2A #2AAA86
monochromatic
#48123C #791E65 #AA2A8E #D041B1 #DC72C5

Accessibility & contrast

On white

6.12
#AA2A8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AA2A8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2A8E
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2A8E#FFFFFF#000000##FFFFFF
##AA2A8E1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315591
Deuteranopia (green-blind)
#5C698B
Tritanopia (blue-blind)
#B43059
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa2a8e;
/* rgb */ color: rgb(170, 42, 142);
/* oklch */ color: oklch(52.1% 0.193 338.4);
Tailwind
colors: {
  custom: {
    50: '#c771af',
    500: '#aa2a8e',
    950: '#000000',
  },
}
SCSS
$custom: #aa2a8e;
$custom-light: #c771af;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2a8e",
  "rgb": {
    "r": 170,
    "g": 42,
    "b": 142
  },
  "hsl": {
    "h": 313.125,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52101,
    "c": 0.19332,
    "h": 338.4
  },
  "luminance": 0.12155
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA2A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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