#AA4F7D#AA4F7D

#AA4F7D is a mid, vivid pink. Relative luminance 0.156; OKLCH L 55.6% C 0.130 H 350.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#AA4F7D
RGBrgb(170, 79, 125)
HSLhsl(330, 37%, 49%)
HSVhsv(330, 54%, 67%)
CMYKcmyk(0%, 53.5%, 26.5%, 33.3%)
CIE-LABlab(46.47, 42.64, -8.20)
CIE-LCHlch(46.47, 43.42, 349.11°)
OKLaboklab(55.56% 0.1287 -0.0213)
OKLCHoklch(55.56% 0.13 350.6)
XYZxyz(23.0760, 15.6207, 21.1978)
Luminance0.1562 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4F7D #4FAA7C
analogous
#AA4FAA #AA4F7D #AA4F50
triadic
#AA4F7D #7DAA4F #4F7DAA
tetradic
#AA4F7D #AAAA4F #4FAA7C #4F50AA
square
#AA4F7D #AAAA4F #4FAA7C #4F50AA
split-complementary
#AA4F7D #50AA4F #4FAAAA
monochromatic
#562840 #803C5E #AA4F7D #C0779C #D3A0BA

Accessibility & contrast

On white

5.09
#AA4F7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#AA4F7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4F7D
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4F7D#FFFFFF#000000##FFFFFF
##AA4F7D1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A647E
Deuteranopia (green-blind)
#72747B
Tritanopia (blue-blind)
#B54C61
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #aa4f7d;
/* rgb */ color: rgb(170, 79, 125);
/* oklch */ color: oklch(55.6% 0.130 350.6);
Tailwind
colors: {
  custom: {
    50: '#c684a2',
    500: '#aa4f7d',
    950: '#000000',
  },
}
SCSS
$custom: #aa4f7d;
$custom-light: #c684a2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4f7d",
  "rgb": {
    "r": 170,
    "g": 79,
    "b": 125
  },
  "hsl": {
    "h": 329.67,
    "s": 36.546,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5556,
    "c": 0.13047,
    "h": 350.6
  },
  "luminance": 0.15619
}

Semantic roles & 50–950 ramp

primary
#AA4F7D
secondary
#95C0AA
accent
#CD935B
background
#FCF8F9
surface
#F8EFF2
border
#D1CACC
text
#130B0F
muted
#827C7E

Preview Lab

Preview with #AA4F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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