#AA2E7F#AA2E7F

#AA2E7F is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.7% C 0.179 H 345.1°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#AA2E7F
RGBrgb(170, 46, 127)
HSLhsl(321, 57%, 42%)
HSVhsv(321, 73%, 67%)
CMYKcmyk(0%, 72.9%, 25.3%, 33.3%)
CIE-LABlab(41.27, 57.26, -17.31)
CIE-LCHlch(41.27, 59.81, 343.18°)
OKLaboklab(51.74% 0.1732 -0.046)
OKLCHoklch(51.74% 0.179 345.1)
XYZxyz(21.3862, 12.0346, 21.2712)
Luminance0.1203 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2E7F #2EAA59
analogous
#972EAA #AA2E7F #AA2E41
triadic
#AA2E7F #7FAA2E #2E7FAA
tetradic
#AA2E7F #AA972E #2EAA59 #2E41AA
square
#AA2E7F #AA972E #2EAA59 #2E41AA
split-complementary
#AA2E7F #41AA2E #2EAA97
monochromatic
#4A1437 #7A215B #AA2E7F #CD489F #DA78B8

Accessibility & contrast

On white

6.16
#AA2E7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AA2E7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2E7F
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2E7F#FFFFFF#000000##FFFFFF
##AA2E7F1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5481
Deuteranopia (green-blind)
#62697C
Tritanopia (blue-blind)
#B52C52
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa2e7f;
/* rgb */ color: rgb(170, 46, 127);
/* oklch */ color: oklch(51.7% 0.179 345.1);
Tailwind
colors: {
  custom: {
    50: '#c772a4',
    500: '#aa2e7f',
    950: '#000000',
  },
}
SCSS
$custom: #aa2e7f;
$custom-light: #c772a4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2e7f",
  "rgb": {
    "r": 170,
    "g": 46,
    "b": 127
  },
  "hsl": {
    "h": 320.806,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51744,
    "c": 0.17926,
    "h": 345.1
  },
  "luminance": 0.12032
}

Semantic roles & 50–950 ramp

primary
#AA2E7F
secondary
#71C38D
accent
#E17C47
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AA2E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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