#AA2B78#AA2B78

#AA2B78 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.2% C 0.179 H 348.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#AA2B78
RGBrgb(170, 43, 120)
HSLhsl(324, 60%, 42%)
HSVhsv(324, 75%, 67%)
CMYKcmyk(0%, 74.7%, 29.4%, 33.3%)
CIE-LABlab(40.63, 57.39, -13.96)
CIE-LCHlch(40.63, 59.06, 346.33°)
OKLaboklab(51.18% 0.1749 -0.0367)
OKLCHoklch(51.18% 0.179 348.1)
XYZxyz(20.8326, 11.6322, 18.9138)
Luminance0.1163 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2B78 #2BAA5D
analogous
#9D2BAA #AA2B78 #AA2B39
triadic
#AA2B78 #78AA2B #2B78AA
tetradic
#AA2B78 #AA9D2B #2BAA5D #2B39AA
square
#AA2B78 #AA9D2B #2BAA5D #2B39AA
split-complementary
#AA2B78 #39AA2B #2BAA9D
monochromatic
#481233 #791F56 #AA2B78 #CF4398 #DC74B3

Accessibility & contrast

On white

6.31
#AA2B78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#AA2B78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2B78
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2B78#FFFFFF#000000##FFFFFF
##AA2B781.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E527A
Deuteranopia (green-blind)
#636875
Tritanopia (blue-blind)
#B6254E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #aa2b78;
/* rgb */ color: rgb(170, 43, 120);
/* oklch */ color: oklch(51.2% 0.179 348.1);
Tailwind
colors: {
  custom: {
    50: '#c8719f',
    500: '#aa2b78',
    950: '#000000',
  },
}
SCSS
$custom: #aa2b78;
$custom-light: #c8719f;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2b78",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 120
  },
  "hsl": {
    "h": 323.622,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51181,
    "c": 0.1787,
    "h": 348.1
  },
  "luminance": 0.1163
}

Semantic roles & 50–950 ramp

primary
#AA2B78
secondary
#6EC38F
accent
#E38345
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AA2B78

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

Preview Lab → · Contrast checker → · Palette generator →

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