#AA318E#AA318E

#AA318E is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.7% C 0.185 H 338.7°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#AA318E
RGBrgb(170, 49, 142)
HSLhsl(314, 55%, 43%)
HSVhsv(314, 71%, 67%)
CMYKcmyk(0%, 71.2%, 16.5%, 33.3%)
CIE-LABlab(42.30, 58.26, -24.89)
CIE-LCHlch(42.30, 63.36, 336.87°)
OKLaboklab(52.71% 0.1726 -0.0674)
OKLCHoklch(52.71% 0.185 338.7)
XYZxyz(22.5589, 12.6978, 26.8488)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA318E #31AA4D
analogous
#8931AA #AA318E #AA3152
triadic
#AA318E #8EAA31 #318EAA
tetradic
#AA318E #AA8931 #31AA4D #3152AA
square
#AA318E #AA8931 #31AA4D #3152AA
split-complementary
#AA318E #52AA31 #31AA89
monochromatic
#4B163F #7A2366 #AA318E #CC4DAE #D97CC4

Accessibility & contrast

On white

5.93
#AA318E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#AA318E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA318E
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA318E#FFFFFF#000000##FFFFFF
##AA318E1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375891
Deuteranopia (green-blind)
#5E6B8B
Tritanopia (blue-blind)
#B4365B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa318e;
/* rgb */ color: rgb(170, 49, 142);
/* oklch */ color: oklch(52.7% 0.185 338.7);
Tailwind
colors: {
  custom: {
    50: '#c774af',
    500: '#aa318e',
    950: '#000000',
  },
}
SCSS
$custom: #aa318e;
$custom-light: #c774af;
$custom-dark: #000000;
JSON
{
  "hex": "#aa318e",
  "rgb": {
    "r": 170,
    "g": 49,
    "b": 142
  },
  "hsl": {
    "h": 313.884,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52709,
    "c": 0.18532,
    "h": 338.7
  },
  "luminance": 0.12696
}

Semantic roles & 50–950 ramp

primary
#AA318E
secondary
#75C287
accent
#DF6C49
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #AA318E

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

Preview Lab → · Contrast checker → · Palette generator →

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