#AA286C#AA286C

#AA286C is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.5% C 0.176 H 353.6°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#AA286C
RGBrgb(170, 40, 108)
HSLhsl(329, 62%, 41%)
HSVhsv(329, 76%, 67%)
CMYKcmyk(0%, 76.5%, 36.5%, 33.3%)
CIE-LABlab(39.83, 56.97, -7.68)
CIE-LCHlch(39.83, 57.48, 352.33°)
OKLaboklab(50.45% 0.1749 -0.0196)
OKLCHoklch(50.45% 0.176 353.6)
XYZxyz(20.0444, 11.1488, 15.2808)
Luminance0.1115 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA286C #28AA66
analogous
#A728AA #AA286C #AA282B
triadic
#AA286C #6CAA28 #286CAA
tetradic
#AA286C #AAA728 #28AA66 #282BAA
square
#AA286C #AAA728 #28AA66 #282BAA
split-complementary
#AA286C #2BAA28 #28AAA7
monochromatic
#47112D #781C4D #AA286C #D23E8B #DD6FA9

Accessibility & contrast

On white

6.50
#AA286C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#AA286C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA286C
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA286C#FFFFFF#000000##FFFFFF
##AA286C1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414F6E
Deuteranopia (green-blind)
#666669
Tritanopia (blue-blind)
#B71A47
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #aa286c;
/* rgb */ color: rgb(170, 40, 108);
/* oklch */ color: oklch(50.5% 0.176 353.6);
Tailwind
colors: {
  custom: {
    50: '#c86f96',
    500: '#aa286c',
    950: '#000000',
  },
}
SCSS
$custom: #aa286c;
$custom-light: #c86f96;
$custom-dark: #000000;
JSON
{
  "hex": "#aa286c",
  "rgb": {
    "r": 170,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 328.615,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50453,
    "c": 0.17594,
    "h": 353.6
  },
  "luminance": 0.11146
}

Semantic roles & 50–950 ramp

primary
#AA286C
secondary
#6AC495
accent
#E59043
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14080D
muted
#827B7E

Preview Lab

Preview with #AA286C

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

Preview Lab → · Contrast checker → · Palette generator →

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