#AA318A#AA318A

#AA318A is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.5% C 0.183 H 340.4°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#AA318A
RGBrgb(170, 49, 138)
HSLhsl(316, 55%, 43%)
HSVhsv(316, 71%, 67%)
CMYKcmyk(0%, 71.2%, 18.8%, 33.3%)
CIE-LABlab(42.12, 57.69, -22.74)
CIE-LCHlch(42.12, 62.01, 338.49°)
OKLaboklab(52.52% 0.172 -0.0613)
OKLCHoklch(52.52% 0.183 340.4)
XYZxyz(22.2639, 12.5798, 25.2954)
Luminance0.1258 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA318A #31AA51
analogous
#8D31AA #AA318A #AA314D
triadic
#AA318A #8AAA31 #318AAA
tetradic
#AA318A #AA8D31 #31AA51 #314DAA
square
#AA318A #AA8D31 #31AA51 #314DAA
split-complementary
#AA318A #4DAA31 #31AA8D
monochromatic
#4B163D #7A2363 #AA318A #CC4DAA #D97CC1

Accessibility & contrast

On white

5.97
#AA318A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AA318A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA318A
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA318A#FFFFFF#000000##FFFFFF
##AA318A1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39578D
Deuteranopia (green-blind)
#606A87
Tritanopia (blue-blind)
#B43459
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa318a;
/* rgb */ color: rgb(170, 49, 138);
/* oklch */ color: oklch(52.5% 0.183 340.4);
Tailwind
colors: {
  custom: {
    50: '#c774ac',
    500: '#aa318a',
    950: '#000000',
  },
}
SCSS
$custom: #aa318a;
$custom-light: #c774ac;
$custom-dark: #000000;
JSON
{
  "hex": "#aa318a",
  "rgb": {
    "r": 170,
    "g": 49,
    "b": 138
  },
  "hsl": {
    "h": 315.868,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52518,
    "c": 0.18261,
    "h": 340.4
  },
  "luminance": 0.12578
}

Semantic roles & 50–950 ramp

primary
#AA318A
secondary
#75C289
accent
#DF7149
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #AA318A

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

Preview Lab → · Contrast checker → · Palette generator →

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