#AA316C#AA316C

#AA316C is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.3% C 0.166 H 354.7°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#AA316C
RGBrgb(170, 49, 108)
HSLhsl(331, 55%, 43%)
HSVhsv(331, 71%, 67%)
CMYKcmyk(0%, 71.2%, 36.5%, 33.3%)
CIE-LABlab(40.94, 53.85, -6.02)
CIE-LCHlch(40.94, 54.19, 353.63°)
OKLaboklab(51.27% 0.165 -0.0152)
OKLCHoklch(51.27% 0.166 354.7)
XYZxyz(20.3839, 11.8278, 15.3940)
Luminance0.1182 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA316C #31AA6F
analogous
#AA31A8 #AA316C #AA3331
triadic
#AA316C #6CAA31 #316CAA
tetradic
#AA316C #A8AA31 #31AA6F #3331AA
square
#AA316C #A8AA31 #31AA6F #3331AA
split-complementary
#AA316C #31AA33 #31A8AA
monochromatic
#4B1630 #7A234E #AA316C #CC4D8B #D97CAA

Accessibility & contrast

On white

6.24
#AA316C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AA316C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA316C
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA316C#FFFFFF#000000##FFFFFF
##AA316C1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47526E
Deuteranopia (green-blind)
#696969
Tritanopia (blue-blind)
#B7264A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa316c;
/* rgb */ color: rgb(170, 49, 108);
/* oklch */ color: oklch(51.3% 0.166 354.7);
Tailwind
colors: {
  custom: {
    50: '#c87396',
    500: '#aa316c',
    950: '#000000',
  },
}
SCSS
$custom: #aa316c;
$custom-light: #c87396;
$custom-dark: #000000;
JSON
{
  "hex": "#aa316c",
  "rgb": {
    "r": 170,
    "g": 49,
    "b": 108
  },
  "hsl": {
    "h": 330.744,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51267,
    "c": 0.16568,
    "h": 354.7
  },
  "luminance": 0.11825
}

Semantic roles & 50–950 ramp

primary
#AA316C
secondary
#75C29C
accent
#DF9649
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14090D
muted
#827B7E

Preview Lab

Preview with #AA316C

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

Preview Lab → · Contrast checker → · Palette generator →

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