#AA2870#AA2870

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

Color values

HEX#AA2870
RGBrgb(170, 40, 112)
HSLhsl(327, 62%, 41%)
HSVhsv(327, 76%, 67%)
CMYKcmyk(0%, 76.5%, 34.1%, 33.3%)
CIE-LABlab(39.98, 57.42, -9.96)
CIE-LCHlch(39.98, 58.28, 350.16°)
OKLaboklab(50.61% 0.176 -0.0258)
OKLCHoklch(50.61% 0.178 351.7)
XYZxyz(20.2622, 11.2359, 16.4278)
Luminance0.1123 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2870 #28AA62
analogous
#A328AA #AA2870 #AA282F
triadic
#AA2870 #70AA28 #2870AA
tetradic
#AA2870 #AAA328 #28AA62 #282FAA
square
#AA2870 #AAA328 #28AA62 #282FAA
split-complementary
#AA2870 #2FAA28 #28AAA3
monochromatic
#47112F #781C4F #AA2870 #D23E90 #DD6FAC

Accessibility & contrast

On white

6.47
#AA2870 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA2870
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2870#FFFFFF#000000##FFFFFF
##AA28701.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4F72
Deuteranopia (green-blind)
#65676D
Tritanopia (blue-blind)
#B71D49
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #aa2870;
/* rgb */ color: rgb(170, 40, 112);
/* oklch */ color: oklch(50.6% 0.178 351.7);
Tailwind
colors: {
  custom: {
    50: '#c86f99',
    500: '#aa2870',
    950: '#000000',
  },
}
SCSS
$custom: #aa2870;
$custom-light: #c86f99;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2870",
  "rgb": {
    "r": 170,
    "g": 40,
    "b": 112
  },
  "hsl": {
    "h": 326.769,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50606,
    "c": 0.17783,
    "h": 351.7
  },
  "luminance": 0.11233
}

Semantic roles & 50–950 ramp

primary
#AA2870
secondary
#6AC492
accent
#E58B43
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080D
muted
#827B7E

Preview Lab

Preview with #AA2870

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

Preview Lab → · Contrast checker → · Palette generator →

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