#AA2881#AA2881

#AA2881 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.3% C 0.187 H 343.9°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#AA2881
RGBrgb(170, 40, 129)
HSLhsl(319, 62%, 41%)
HSVhsv(319, 76%, 67%)
CMYKcmyk(0%, 76.5%, 24.1%, 33.3%)
CIE-LABlab(40.66, 59.50, -19.48)
CIE-LCHlch(40.66, 62.61, 341.87°)
OKLaboklab(51.32% 0.1798 -0.052)
OKLCHoklch(51.32% 0.187 343.9)
XYZxyz(21.2996, 11.6509, 21.8918)
Luminance0.1165 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2881 #28AA51
analogous
#9228AA #AA2881 #AA2840
triadic
#AA2881 #81AA28 #2881AA
tetradic
#AA2881 #AA9228 #28AA51 #2840AA
square
#AA2881 #AA9228 #28AA51 #2840AA
split-complementary
#AA2881 #40AA28 #28AA92
monochromatic
#471136 #781C5B #AA2881 #D23EA3 #DD6FBA

Accessibility & contrast

On white

6.31
#AA2881 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#AA2881 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2881
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2881#FFFFFF#000000##FFFFFF
##AA28811.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375283
Deuteranopia (green-blind)
#60687E
Tritanopia (blue-blind)
#B52751
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #aa2881;
/* rgb */ color: rgb(170, 40, 129);
/* oklch */ color: oklch(51.3% 0.187 343.9);
Tailwind
colors: {
  custom: {
    50: '#c770a5',
    500: '#aa2881',
    950: '#000000',
  },
}
SCSS
$custom: #aa2881;
$custom-light: #c770a5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2881",
  "rgb": {
    "r": 170,
    "g": 40,
    "b": 129
  },
  "hsl": {
    "h": 318.923,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51324,
    "c": 0.18713,
    "h": 343.9
  },
  "luminance": 0.11649
}

Semantic roles & 50–950 ramp

primary
#AA2881
secondary
#6AC486
accent
#E57643
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AA2881

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

Preview Lab → · Contrast checker → · Palette generator →

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