#AA316F#AA316F

#AA316F is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.4% C 0.167 H 353.2°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#AA316F
RGBrgb(170, 49, 111)
HSLhsl(329, 55%, 43%)
HSVhsv(329, 71%, 67%)
CMYKcmyk(0%, 71.2%, 34.7%, 33.3%)
CIE-LABlab(41.05, 54.19, -7.73)
CIE-LCHlch(41.05, 54.74, 351.88°)
OKLaboklab(51.38% 0.1659 -0.0198)
OKLCHoklch(51.38% 0.167 353.2)
XYZxyz(20.5463, 11.8928, 16.2494)
Luminance0.1189 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA316F #31AA6C
analogous
#A831AA #AA316F #AA3133
triadic
#AA316F #6FAA31 #316FAA
tetradic
#AA316F #AAA831 #31AA6C #3133AA
square
#AA316F #AAA831 #31AA6C #3133AA
split-complementary
#AA316F #33AA31 #31AAA8
monochromatic
#4B1631 #7A2350 #AA316F #CC4D8E #D97CAC

Accessibility & contrast

On white

6.22
#AA316F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AA316F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA316F
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA316F#FFFFFF#000000##FFFFFF
##AA316F1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465371
Deuteranopia (green-blind)
#68696C
Tritanopia (blue-blind)
#B7274C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa316f;
/* rgb */ color: rgb(170, 49, 111);
/* oklch */ color: oklch(51.4% 0.167 353.2);
Tailwind
colors: {
  custom: {
    50: '#c87398',
    500: '#aa316f',
    950: '#000000',
  },
}
SCSS
$custom: #aa316f;
$custom-light: #c87398;
$custom-dark: #000000;
JSON
{
  "hex": "#aa316f",
  "rgb": {
    "r": 170,
    "g": 49,
    "b": 111
  },
  "hsl": {
    "h": 329.256,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51378,
    "c": 0.16705,
    "h": 353.2
  },
  "luminance": 0.1189
}

Semantic roles & 50–950 ramp

primary
#AA316F
secondary
#75C29A
accent
#DF9249
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090D
muted
#827B7E

Preview Lab

Preview with #AA316F

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

Preview Lab → · Contrast checker → · Palette generator →

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