#AA288E#AA288E

#AA288E is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.9% C 0.195 H 338.4°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#AA288E
RGBrgb(170, 40, 142)
HSLhsl(313, 62%, 41%)
HSVhsv(313, 76%, 67%)
CMYKcmyk(0%, 76.5%, 16.5%, 33.3%)
CIE-LABlab(41.25, 61.26, -26.54)
CIE-LCHlch(41.25, 66.76, 336.58°)
OKLaboklab(51.94% 0.1817 -0.072)
OKLCHoklch(51.94% 0.195 338.4)
XYZxyz(22.2194, 12.0188, 26.7356)
Luminance0.1202 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA288E #28AA44
analogous
#8528AA #AA288E #AA284D
triadic
#AA288E #8EAA28 #288EAA
tetradic
#AA288E #AA8528 #28AA44 #284DAA
square
#AA288E #AA8528 #28AA44 #284DAA
split-complementary
#AA288E #4DAA28 #28AA85
monochromatic
#47113B #781C65 #AA288E #D23EB2 #DD6FC5

Accessibility & contrast

On white

6.17
#AA288E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AA288E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA288E
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA288E#FFFFFF#000000##FFFFFF
##AA288E1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5491
Deuteranopia (green-blind)
#5B688B
Tritanopia (blue-blind)
#B42F59
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa288e;
/* rgb */ color: rgb(170, 40, 142);
/* oklch */ color: oklch(51.9% 0.195 338.4);
Tailwind
colors: {
  custom: {
    50: '#c770af',
    500: '#aa288e',
    950: '#000000',
  },
}
SCSS
$custom: #aa288e;
$custom-light: #c770af;
$custom-dark: #000000;
JSON
{
  "hex": "#aa288e",
  "rgb": {
    "r": 170,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 312.923,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51943,
    "c": 0.19542,
    "h": 338.4
  },
  "luminance": 0.12017
}

Semantic roles & 50–950 ramp

primary
#AA288E
secondary
#6AC47D
accent
#E56643
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AA288E

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

Preview Lab → · Contrast checker → · Palette generator →

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