#AA2F90#AA2F90

#AA2F90 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.6% C 0.189 H 337.8°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#AA2F90
RGBrgb(170, 47, 144)
HSLhsl(313, 57%, 43%)
HSVhsv(313, 72%, 67%)
CMYKcmyk(0%, 72.4%, 15.3%, 33.3%)
CIE-LABlab(42.15, 59.26, -26.35)
CIE-LCHlch(42.15, 64.86, 336.03°)
OKLaboklab(52.63% 0.175 -0.0715)
OKLCHoklch(52.63% 0.189 337.8)
XYZxyz(22.6286, 12.5948, 27.6194)
Luminance0.1259 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2F90 #2FAA49
analogous
#872FAA #AA2F90 #AA2F52
triadic
#AA2F90 #90AA2F #2F90AA
tetradic
#AA2F90 #AA872F #2FAA49 #2F52AA
square
#AA2F90 #AA872F #2FAA49 #2F52AA
split-complementary
#AA2F90 #52AA2F #2FAA87
monochromatic
#4A143F #7A2267 #AA2F90 #CD49B1 #DA79C6

Accessibility & contrast

On white

5.97
#AA2F90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AA2F90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2F90
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2F90#FFFFFF#000000##FFFFFF
##AA2F901.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345793
Deuteranopia (green-blind)
#5D6A8D
Tritanopia (blue-blind)
#B3355C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa2f90;
/* rgb */ color: rgb(170, 47, 144);
/* oklch */ color: oklch(52.6% 0.189 337.8);
Tailwind
colors: {
  custom: {
    50: '#c773b1',
    500: '#aa2f90',
    950: '#000000',
  },
}
SCSS
$custom: #aa2f90;
$custom-light: #c773b1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2f90",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 312.683,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52625,
    "c": 0.18908,
    "h": 337.8
  },
  "luminance": 0.12593
}

Semantic roles & 50–950 ramp

primary
#AA2F90
secondary
#72C283
accent
#E06848
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#130910
muted
#827B7F

Preview Lab

Preview with #AA2F90

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

Preview Lab → · Contrast checker → · Palette generator →

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