#AA287E#AA287E

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

Color values

HEX#AA287E
RGBrgb(170, 40, 126)
HSLhsl(320, 62%, 41%)
HSVhsv(320, 76%, 67%)
CMYKcmyk(0%, 76.5%, 25.9%, 33.3%)
CIE-LABlab(40.53, 59.11, -17.83)
CIE-LCHlch(40.53, 61.74, 343.22°)
OKLaboklab(51.19% 0.1792 -0.0474)
OKLCHoklch(51.19% 0.185 345.2)
XYZxyz(21.1032, 11.5723, 20.8569)
Luminance0.1157 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA287E #28AA54
analogous
#9528AA #AA287E #AA283D
triadic
#AA287E #7EAA28 #287EAA
tetradic
#AA287E #AA9528 #28AA54 #283DAA
square
#AA287E #AA9528 #28AA54 #283DAA
split-complementary
#AA287E #3DAA28 #28AA95
monochromatic
#471135 #781C59 #AA287E #D23E9F #DD6FB8

Accessibility & contrast

On white

6.34
#AA287E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#AA287E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA287E
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA287E#FFFFFF#000000##FFFFFF
##AA287E1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395280
Deuteranopia (green-blind)
#61677B
Tritanopia (blue-blind)
#B62650
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #aa287e;
/* rgb */ color: rgb(170, 40, 126);
/* oklch */ color: oklch(51.2% 0.185 345.2);
Tailwind
colors: {
  custom: {
    50: '#c770a3',
    500: '#aa287e',
    950: '#000000',
  },
}
SCSS
$custom: #aa287e;
$custom-light: #c770a3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa287e",
  "rgb": {
    "r": 170,
    "g": 40,
    "b": 126
  },
  "hsl": {
    "h": 320.308,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.5119,
    "c": 0.18535,
    "h": 345.2
  },
  "luminance": 0.1157
}

Semantic roles & 50–950 ramp

primary
#AA287E
secondary
#6AC488
accent
#E57A43
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AA287E

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

Preview Lab → · Contrast checker → · Palette generator →

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