#AA2789#AA2789

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

Color values

HEX#AA2789
RGBrgb(170, 39, 137)
HSLhsl(315, 63%, 41%)
HSVhsv(315, 77%, 67%)
CMYKcmyk(0%, 77.1%, 19.4%, 33.3%)
CIE-LABlab(40.91, 60.87, -24.01)
CIE-LCHlch(40.91, 65.44, 338.47°)
OKLaboklab(51.62% 0.182 -0.0648)
OKLCHoklch(51.62% 0.193 340.4)
XYZxyz(21.8191, 11.8054, 24.7916)
Luminance0.1180 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2789 #27AA48
analogous
#8927AA #AA2789 #AA2747
triadic
#AA2789 #89AA27 #2789AA
tetradic
#AA2789 #AA8927 #27AA48 #2747AA
square
#AA2789 #AA8927 #27AA48 #2747AA
split-complementary
#AA2789 #47AA27 #27AA89
monochromatic
#461039 #781C61 #AA2789 #D23CAC #DE6EC1

Accessibility & contrast

On white

6.25
#AA2789 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA2789
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2789#FFFFFF#000000##FFFFFF
##AA27891.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32538C
Deuteranopia (green-blind)
#5C6886
Tritanopia (blue-blind)
#B42B56
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #aa2789;
/* rgb */ color: rgb(170, 39, 137);
/* oklch */ color: oklch(51.6% 0.193 340.4);
Tailwind
colors: {
  custom: {
    50: '#c770ab',
    500: '#aa2789',
    950: '#000000',
  },
}
SCSS
$custom: #aa2789;
$custom-light: #c770ab;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2789",
  "rgb": {
    "r": 170,
    "g": 39,
    "b": 137
  },
  "hsl": {
    "h": 315.115,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51621,
    "c": 0.19316,
    "h": 340.4
  },
  "luminance": 0.11803
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA2789

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

Preview Lab → · Contrast checker → · Palette generator →

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