#AA2888#AA2888

#AA2888 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.6% C 0.191 H 340.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#AA2888
RGBrgb(170, 40, 136)
HSLhsl(316, 62%, 41%)
HSVhsv(316, 76%, 67%)
CMYKcmyk(0%, 76.5%, 20%, 33.3%)
CIE-LABlab(40.97, 60.43, -23.31)
CIE-LCHlch(40.97, 64.77, 338.91°)
OKLaboklab(51.65% 0.1809 -0.0628)
OKLCHoklch(51.65% 0.191 340.8)
XYZxyz(21.7810, 11.8434, 24.4267)
Luminance0.1184 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2888 #28AA4A
analogous
#8B28AA #AA2888 #AA2847
triadic
#AA2888 #88AA28 #2888AA
tetradic
#AA2888 #AA8B28 #28AA4A #2847AA
square
#AA2888 #AA8B28 #28AA4A #2847AA
split-complementary
#AA2888 #47AA28 #28AA8B
monochromatic
#471139 #781C60 #AA2888 #D23EAB #DD6FC0

Accessibility & contrast

On white

6.23
#AA2888 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AA2888 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2888
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2888#FFFFFF#000000##FFFFFF
##AA28881.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33538B
Deuteranopia (green-blind)
#5D6885
Tritanopia (blue-blind)
#B42B55
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa2888;
/* rgb */ color: rgb(170, 40, 136);
/* oklch */ color: oklch(51.6% 0.191 340.8);
Tailwind
colors: {
  custom: {
    50: '#c770ab',
    500: '#aa2888',
    950: '#000000',
  },
}
SCSS
$custom: #aa2888;
$custom-light: #c770ab;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2888",
  "rgb": {
    "r": 170,
    "g": 40,
    "b": 136
  },
  "hsl": {
    "h": 315.692,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.5165,
    "c": 0.19149,
    "h": 340.8
  },
  "luminance": 0.11841
}

Semantic roles & 50–950 ramp

primary
#AA2888
secondary
#6AC481
accent
#E56D43
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AA2888

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

Preview Lab → · Contrast checker → · Palette generator →

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