#AA2786#AA2786

#AA2786 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.5% C 0.191 H 341.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#AA2786
RGBrgb(170, 39, 134)
HSLhsl(316, 63%, 41%)
HSVhsv(316, 77%, 67%)
CMYKcmyk(0%, 77.1%, 21.2%, 33.3%)
CIE-LABlab(40.77, 60.46, -22.39)
CIE-LCHlch(40.77, 64.47, 339.68°)
OKLaboklab(51.48% 0.1815 -0.0602)
OKLCHoklch(51.48% 0.191 341.7)
XYZxyz(21.6069, 11.7206, 23.6740)
Luminance0.1172 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2786 #27AA4B
analogous
#8C27AA #AA2786 #AA2744
triadic
#AA2786 #86AA27 #2786AA
tetradic
#AA2786 #AA8C27 #27AA4B #2744AA
square
#AA2786 #AA8C27 #27AA4B #2744AA
split-complementary
#AA2786 #44AA27 #27AA8C
monochromatic
#461038 #781C5F #AA2786 #D23CA9 #DE6EBF

Accessibility & contrast

On white

6.28
#AA2786 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#AA2786 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2786
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2786#FFFFFF#000000##FFFFFF
##AA27861.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345389
Deuteranopia (green-blind)
#5E6883
Tritanopia (blue-blind)
#B52954
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #aa2786;
/* rgb */ color: rgb(170, 39, 134);
/* oklch */ color: oklch(51.5% 0.191 341.7);
Tailwind
colors: {
  custom: {
    50: '#c76fa9',
    500: '#aa2786',
    950: '#000000',
  },
}
SCSS
$custom: #aa2786;
$custom-light: #c76fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2786",
  "rgb": {
    "r": 170,
    "g": 39,
    "b": 134
  },
  "hsl": {
    "h": 316.489,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51478,
    "c": 0.19125,
    "h": 341.7
  },
  "luminance": 0.11718
}

Semantic roles & 50–950 ramp

primary
#AA2786
secondary
#69C482
accent
#E66F42
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AA2786

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

Preview Lab → · Contrast checker → · Palette generator →

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