#AA2872#AA2872

#AA2872 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.7% C 0.179 H 350.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#AA2872
RGBrgb(170, 40, 114)
HSLhsl(326, 62%, 41%)
HSVhsv(326, 76%, 67%)
CMYKcmyk(0%, 76.5%, 32.9%, 33.3%)
CIE-LABlab(40.05, 57.65, -11.10)
CIE-LCHlch(40.05, 58.71, 349.10°)
OKLaboklab(50.69% 0.1765 -0.0289)
OKLCHoklch(50.69% 0.179 350.7)
XYZxyz(20.3748, 11.2809, 17.0208)
Luminance0.1128 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2872 #28AA60
analogous
#A128AA #AA2872 #AA2831
triadic
#AA2872 #72AA28 #2872AA
tetradic
#AA2872 #AAA128 #28AA60 #2831AA
square
#AA2872 #AAA128 #28AA60 #2831AA
split-complementary
#AA2872 #31AA28 #28AAA1
monochromatic
#471130 #781C51 #AA2872 #D23E92 #DD6FAE

Accessibility & contrast

On white

6.45
#AA2872 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#AA2872 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2872
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2872#FFFFFF#000000##FFFFFF
##AA28721.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5074
Deuteranopia (green-blind)
#64676F
Tritanopia (blue-blind)
#B71E4A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #aa2872;
/* rgb */ color: rgb(170, 40, 114);
/* oklch */ color: oklch(50.7% 0.179 350.7);
Tailwind
colors: {
  custom: {
    50: '#c86f9a',
    500: '#aa2872',
    950: '#000000',
  },
}
SCSS
$custom: #aa2872;
$custom-light: #c86f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2872",
  "rgb": {
    "r": 170,
    "g": 40,
    "b": 114
  },
  "hsl": {
    "h": 325.846,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50685,
    "c": 0.17881,
    "h": 350.7
  },
  "luminance": 0.11279
}

Semantic roles & 50–950 ramp

primary
#AA2872
secondary
#6AC491
accent
#E58943
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AA2872

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

Preview Lab → · Contrast checker → · Palette generator →

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