#AA286F#AA286F

#AA286F is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.6% C 0.177 H 352.1°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#AA286F
RGBrgb(170, 40, 111)
HSLhsl(327, 62%, 41%)
HSVhsv(327, 76%, 67%)
CMYKcmyk(0%, 76.5%, 34.7%, 33.3%)
CIE-LABlab(39.94, 57.30, -9.39)
CIE-LCHlch(39.94, 58.07, 350.69°)
OKLaboklab(50.57% 0.1757 -0.0242)
OKLCHoklch(50.57% 0.177 352.1)
XYZxyz(20.2068, 11.2138, 16.1362)
Luminance0.1121 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA286F #28AA63
analogous
#A428AA #AA286F #AA282E
triadic
#AA286F #6FAA28 #286FAA
tetradic
#AA286F #AAA428 #28AA63 #282EAA
square
#AA286F #AAA428 #28AA63 #282EAA
split-complementary
#AA286F #2EAA28 #28AAA4
monochromatic
#47112E #781C4F #AA286F #D23E8E #DD6FAB

Accessibility & contrast

On white

6.48
#AA286F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#AA286F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA286F
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA286F#FFFFFF#000000##FFFFFF
##AA286F1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404F71
Deuteranopia (green-blind)
#65676C
Tritanopia (blue-blind)
#B71C48
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #aa286f;
/* rgb */ color: rgb(170, 40, 111);
/* oklch */ color: oklch(50.6% 0.177 352.1);
Tailwind
colors: {
  custom: {
    50: '#c86f98',
    500: '#aa286f',
    950: '#000000',
  },
}
SCSS
$custom: #aa286f;
$custom-light: #c86f98;
$custom-dark: #000000;
JSON
{
  "hex": "#aa286f",
  "rgb": {
    "r": 170,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 327.231,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50567,
    "c": 0.17734,
    "h": 352.1
  },
  "luminance": 0.11211
}

Semantic roles & 50–950 ramp

primary
#AA286F
secondary
#6AC493
accent
#E58C43
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080D
muted
#827B7E

Preview Lab

Preview with #AA286F

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

Preview Lab → · Contrast checker → · Palette generator →

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