#AA2F8E#AA2F8E

#AA2F8E is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.5% C 0.188 H 338.6°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#AA2F8E
RGBrgb(170, 47, 142)
HSLhsl(314, 57%, 43%)
HSVhsv(314, 72%, 67%)
CMYKcmyk(0%, 72.4%, 16.5%, 33.3%)
CIE-LABlab(42.05, 58.97, -25.28)
CIE-LCHlch(42.05, 64.16, 336.79°)
OKLaboklab(52.53% 0.1748 -0.0685)
OKLCHoklch(52.53% 0.188 338.6)
XYZxyz(22.4771, 12.5342, 26.8215)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2F8E #2FAA4B
analogous
#892FAA #AA2F8E #AA2F50
triadic
#AA2F8E #8EAA2F #2F8EAA
tetradic
#AA2F8E #AA892F #2FAA4B #2F50AA
square
#AA2F8E #AA892F #2FAA4B #2F50AA
split-complementary
#AA2F8E #50AA2F #2FAA89
monochromatic
#4A143E #7A2266 #AA2F8E #CD49AF #DA79C4

Accessibility & contrast

On white

5.99
#AA2F8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AA2F8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2F8E
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2F8E#FFFFFF#000000##FFFFFF
##AA2F8E1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355791
Deuteranopia (green-blind)
#5D6A8B
Tritanopia (blue-blind)
#B4345B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa2f8e;
/* rgb */ color: rgb(170, 47, 142);
/* oklch */ color: oklch(52.5% 0.188 338.6);
Tailwind
colors: {
  custom: {
    50: '#c773af',
    500: '#aa2f8e',
    950: '#000000',
  },
}
SCSS
$custom: #aa2f8e;
$custom-light: #c773af;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2f8e",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 142
  },
  "hsl": {
    "h": 313.659,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52527,
    "c": 0.1877,
    "h": 338.6
  },
  "luminance": 0.12532
}

Semantic roles & 50–950 ramp

primary
#AA2F8E
secondary
#72C285
accent
#E06A48
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AA2F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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