#AA2871#AA2871

#AA2871 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.6% C 0.178 H 351.2°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#AA2871
RGBrgb(170, 40, 113)
HSLhsl(326, 62%, 41%)
HSVhsv(326, 76%, 67%)
CMYKcmyk(0%, 76.5%, 33.5%, 33.3%)
CIE-LABlab(40.01, 57.53, -10.53)
CIE-LCHlch(40.01, 58.49, 349.63°)
OKLaboklab(50.65% 0.1762 -0.0273)
OKLCHoklch(50.65% 0.178 351.2)
XYZxyz(20.3182, 11.2583, 16.7227)
Luminance0.1126 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2871 #28AA61
analogous
#A228AA #AA2871 #AA2830
triadic
#AA2871 #71AA28 #2871AA
tetradic
#AA2871 #AAA228 #28AA61 #2830AA
square
#AA2871 #AAA228 #28AA61 #2830AA
split-complementary
#AA2871 #30AA28 #28AAA2
monochromatic
#47112F #781C50 #AA2871 #D23E91 #DD6FAD

Accessibility & contrast

On white

6.46
#AA2871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#AA2871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2871
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2871#FFFFFF#000000##FFFFFF
##AA28711.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4F73
Deuteranopia (green-blind)
#64676E
Tritanopia (blue-blind)
#B71D49
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #aa2871;
/* rgb */ color: rgb(170, 40, 113);
/* oklch */ color: oklch(50.6% 0.178 351.2);
Tailwind
colors: {
  custom: {
    50: '#c86f99',
    500: '#aa2871',
    950: '#000000',
  },
}
SCSS
$custom: #aa2871;
$custom-light: #c86f99;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2871",
  "rgb": {
    "r": 170,
    "g": 40,
    "b": 113
  },
  "hsl": {
    "h": 326.308,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50645,
    "c": 0.17832,
    "h": 351.2
  },
  "luminance": 0.11256
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA2871

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

Preview Lab → · Contrast checker → · Palette generator →

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