#AA318B#AA318B

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

Color values

HEX#AA318B
RGBrgb(170, 49, 139)
HSLhsl(315, 55%, 43%)
HSVhsv(315, 71%, 67%)
CMYKcmyk(0%, 71.2%, 18.2%, 33.3%)
CIE-LABlab(42.17, 57.83, -23.28)
CIE-LCHlch(42.17, 62.34, 338.07°)
OKLaboklab(52.57% 0.1722 -0.0628)
OKLCHoklch(52.57% 0.183 340)
XYZxyz(22.3367, 12.6089, 25.6785)
Luminance0.1261 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA318B #31AA50
analogous
#8C31AA #AA318B #AA314E
triadic
#AA318B #8BAA31 #318BAA
tetradic
#AA318B #AA8C31 #31AA50 #314EAA
square
#AA318B #AA8C31 #31AA50 #314EAA
split-complementary
#AA318B #4EAA31 #31AA8C
monochromatic
#4B163D #7A2364 #AA318B #CC4DAB #D97CC1

Accessibility & contrast

On white

5.96
#AA318B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA318B
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA318B#FFFFFF#000000##FFFFFF
##AA318B1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39578E
Deuteranopia (green-blind)
#5F6A88
Tritanopia (blue-blind)
#B4355A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa318b;
/* rgb */ color: rgb(170, 49, 139);
/* oklch */ color: oklch(52.6% 0.183 340.0);
Tailwind
colors: {
  custom: {
    50: '#c774ad',
    500: '#aa318b',
    950: '#000000',
  },
}
SCSS
$custom: #aa318b;
$custom-light: #c774ad;
$custom-dark: #000000;
JSON
{
  "hex": "#aa318b",
  "rgb": {
    "r": 170,
    "g": 49,
    "b": 139
  },
  "hsl": {
    "h": 315.372,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52565,
    "c": 0.18328,
    "h": 340
  },
  "luminance": 0.12607
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA318B

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

Preview Lab → · Contrast checker → · Palette generator →

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