#AA2781#AA2781

#AA2781 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.2% C 0.188 H 343.8°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#AA2781
RGBrgb(170, 39, 129)
HSLhsl(319, 63%, 41%)
HSVhsv(319, 77%, 67%)
CMYKcmyk(0%, 77.1%, 24.1%, 33.3%)
CIE-LABlab(40.55, 59.80, -19.65)
CIE-LCHlch(40.55, 62.95, 341.81°)
OKLaboklab(51.25% 0.1807 -0.0525)
OKLCHoklch(51.25% 0.188 343.8)
XYZxyz(21.2664, 11.5843, 21.8807)
Luminance0.1158 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2781 #27AA50
analogous
#9127AA #AA2781 #AA273F
triadic
#AA2781 #81AA27 #2781AA
tetradic
#AA2781 #AA9127 #27AA50 #273FAA
square
#AA2781 #AA9127 #27AA50 #273FAA
split-complementary
#AA2781 #3FAA27 #27AA91
monochromatic
#461035 #781C5B #AA2781 #D23CA3 #DE6EBB

Accessibility & contrast

On white

6.33
#AA2781 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#AA2781 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2781
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2781#FFFFFF#000000##FFFFFF
##AA27811.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375283
Deuteranopia (green-blind)
#5F677E
Tritanopia (blue-blind)
#B52651
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #aa2781;
/* rgb */ color: rgb(170, 39, 129);
/* oklch */ color: oklch(51.2% 0.188 343.8);
Tailwind
colors: {
  custom: {
    50: '#c76fa5',
    500: '#aa2781',
    950: '#000000',
  },
}
SCSS
$custom: #aa2781;
$custom-light: #c76fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2781",
  "rgb": {
    "r": 170,
    "g": 39,
    "b": 129
  },
  "hsl": {
    "h": 318.779,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51246,
    "c": 0.18817,
    "h": 343.8
  },
  "luminance": 0.11582
}

Semantic roles & 50–950 ramp

primary
#AA2781
secondary
#69C485
accent
#E67542
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AA2781

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

Preview Lab → · Contrast checker → · Palette generator →

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