#AA2788#AA2788

#AA2788 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.6% C 0.193 H 340.8°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#AA2788
RGBrgb(170, 39, 136)
HSLhsl(316, 63%, 41%)
HSVhsv(316, 77%, 67%)
CMYKcmyk(0%, 77.1%, 20%, 33.3%)
CIE-LABlab(40.86, 60.73, -23.47)
CIE-LCHlch(40.86, 65.11, 338.87°)
OKLaboklab(51.57% 0.1818 -0.0633)
OKLCHoklch(51.57% 0.193 340.8)
XYZxyz(21.7477, 11.7769, 24.4156)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2788 #27AA49
analogous
#8A27AA #AA2788 #AA2746
triadic
#AA2788 #88AA27 #2788AA
tetradic
#AA2788 #AA8A27 #27AA49 #2746AA
square
#AA2788 #AA8A27 #27AA49 #2746AA
split-complementary
#AA2788 #46AA27 #27AA8A
monochromatic
#461038 #781C60 #AA2788 #D23CAB #DE6EC1

Accessibility & contrast

On white

6.26
#AA2788 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AA2788 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2788
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2788#FFFFFF#000000##FFFFFF
##AA27881.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32538B
Deuteranopia (green-blind)
#5D6885
Tritanopia (blue-blind)
#B42B55
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #aa2788;
/* rgb */ color: rgb(170, 39, 136);
/* oklch */ color: oklch(51.6% 0.193 340.8);
Tailwind
colors: {
  custom: {
    50: '#c770ab',
    500: '#aa2788',
    950: '#000000',
  },
}
SCSS
$custom: #aa2788;
$custom-light: #c770ab;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2788",
  "rgb": {
    "r": 170,
    "g": 39,
    "b": 136
  },
  "hsl": {
    "h": 315.573,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51573,
    "c": 0.19252,
    "h": 340.8
  },
  "luminance": 0.11775
}

Semantic roles & 50–950 ramp

primary
#AA2788
secondary
#69C480
accent
#E66D42
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AA2788

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

Preview Lab → · Contrast checker → · Palette generator →

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