#AA316B#AA316B

#AA316B is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.2% C 0.165 H 355.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#AA316B
RGBrgb(170, 49, 107)
HSLhsl(331, 55%, 43%)
HSVhsv(331, 71%, 67%)
CMYKcmyk(0%, 71.2%, 37.1%, 33.3%)
CIE-LABlab(40.91, 53.74, -5.44)
CIE-LCHlch(40.91, 54.01, 354.22°)
OKLaboklab(51.23% 0.1647 -0.0137)
OKLCHoklch(51.23% 0.165 355.3)
XYZxyz(20.3310, 11.8066, 15.1153)
Luminance0.1180 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA316B #31AA70
analogous
#AA31A7 #AA316B #AA3431
triadic
#AA316B #6BAA31 #316BAA
tetradic
#AA316B #A7AA31 #31AA70 #3431AA
square
#AA316B #A7AA31 #31AA70 #3431AA
split-complementary
#AA316B #31AA34 #31A7AA
monochromatic
#4B162F #7A234D #AA316B #CC4D89 #D97CA9

Accessibility & contrast

On white

6.25
#AA316B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AA316B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA316B
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA316B#FFFFFF#000000##FFFFFF
##AA316B1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47526D
Deuteranopia (green-blind)
#696968
Tritanopia (blue-blind)
#B7254A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #aa316b;
/* rgb */ color: rgb(170, 49, 107);
/* oklch */ color: oklch(51.2% 0.165 355.3);
Tailwind
colors: {
  custom: {
    50: '#c87395',
    500: '#aa316b',
    950: '#000000',
  },
}
SCSS
$custom: #aa316b;
$custom-light: #c87395;
$custom-dark: #000000;
JSON
{
  "hex": "#aa316b",
  "rgb": {
    "r": 170,
    "g": 49,
    "b": 107
  },
  "hsl": {
    "h": 331.24,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51231,
    "c": 0.16524,
    "h": 355.3
  },
  "luminance": 0.11804
}

Semantic roles & 50–950 ramp

primary
#AA316B
secondary
#75C29D
accent
#DF9749
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14090D
muted
#827B7E

Preview Lab

Preview with #AA316B

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

Preview Lab → · Contrast checker → · Palette generator →

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