#AA317B#AA317B

#AA317B is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.9% C 0.173 H 347.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AA317B
RGBrgb(170, 49, 123)
HSLhsl(323, 55%, 43%)
HSVhsv(323, 71%, 67%)
CMYKcmyk(0%, 71.2%, 27.6%, 33.3%)
CIE-LABlab(41.49, 55.66, -14.50)
CIE-LCHlch(41.49, 57.52, 345.40°)
OKLaboklab(51.85% 0.169 -0.0382)
OKLCHoklch(51.85% 0.173 347.2)
XYZxyz(21.2520, 12.1750, 19.9659)
Luminance0.1217 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA317B #31AA60
analogous
#9C31AA #AA317B #AA313E
triadic
#AA317B #7BAA31 #317BAA
tetradic
#AA317B #AA9C31 #31AA60 #313EAA
square
#AA317B #AA9C31 #31AA60 #313EAA
split-complementary
#AA317B #3EAA31 #31AA9C
monochromatic
#4B1636 #7A2359 #AA317B #CC4D9A #D97CB5

Accessibility & contrast

On white

6.11
#AA317B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AA317B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA317B
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA317B#FFFFFF#000000##FFFFFF
##AA317B1.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41557D
Deuteranopia (green-blind)
#656978
Tritanopia (blue-blind)
#B62D52
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa317b;
/* rgb */ color: rgb(170, 49, 123);
/* oklch */ color: oklch(51.9% 0.173 347.2);
Tailwind
colors: {
  custom: {
    50: '#c773a1',
    500: '#aa317b',
    950: '#000000',
  },
}
SCSS
$custom: #aa317b;
$custom-light: #c773a1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa317b",
  "rgb": {
    "r": 170,
    "g": 49,
    "b": 123
  },
  "hsl": {
    "h": 323.306,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51853,
    "c": 0.1733,
    "h": 347.2
  },
  "luminance": 0.12173
}

Semantic roles & 50–950 ramp

primary
#AA317B
secondary
#75C293
accent
#DF8349
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090F
muted
#827B7E

Preview Lab

Preview with #AA317B

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

Preview Lab → · Contrast checker → · Palette generator →

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