#AA287D#AA287D

#AA287D is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.1% C 0.185 H 345.6°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#AA287D
RGBrgb(170, 40, 125)
HSLhsl(321, 62%, 41%)
HSVhsv(321, 76%, 67%)
CMYKcmyk(0%, 76.5%, 26.5%, 33.3%)
CIE-LABlab(40.49, 58.98, -17.27)
CIE-LCHlch(40.49, 61.46, 343.68°)
OKLaboklab(51.15% 0.179 -0.0459)
OKLCHoklch(51.15% 0.185 345.6)
XYZxyz(21.0390, 11.5466, 20.5188)
Luminance0.1154 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA287D #28AA55
analogous
#9628AA #AA287D #AA283C
triadic
#AA287D #7DAA28 #287DAA
tetradic
#AA287D #AA9628 #28AA55 #283CAA
square
#AA287D #AA9628 #28AA55 #283CAA
split-complementary
#AA287D #3CAA28 #28AA96
monochromatic
#471134 #781C59 #AA287D #D23E9E #DD6FB7

Accessibility & contrast

On white

6.35
#AA287D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA287D
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA287D#FFFFFF#000000##FFFFFF
##AA287D1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39517F
Deuteranopia (green-blind)
#61677A
Tritanopia (blue-blind)
#B6254F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #aa287d;
/* rgb */ color: rgb(170, 40, 125);
/* oklch */ color: oklch(51.1% 0.185 345.6);
Tailwind
colors: {
  custom: {
    50: '#c770a2',
    500: '#aa287d',
    950: '#000000',
  },
}
SCSS
$custom: #aa287d;
$custom-light: #c770a2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa287d",
  "rgb": {
    "r": 170,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 320.769,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51146,
    "c": 0.18478,
    "h": 345.6
  },
  "luminance": 0.11544
}

Semantic roles & 50–950 ramp

primary
#AA287D
secondary
#6AC489
accent
#E57B43
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AA287D

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

Preview Lab → · Contrast checker → · Palette generator →

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