#AA318F#AA318F

#AA318F is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.8% C 0.186 H 338.3°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#AA318F
RGBrgb(170, 49, 143)
HSLhsl(313, 55%, 43%)
HSVhsv(313, 71%, 67%)
CMYKcmyk(0%, 71.2%, 15.9%, 33.3%)
CIE-LABlab(42.35, 58.41, -25.43)
CIE-LCHlch(42.35, 63.70, 336.47°)
OKLaboklab(52.76% 0.1728 -0.0689)
OKLCHoklch(52.76% 0.186 338.3)
XYZxyz(22.6343, 12.7279, 27.2460)
Luminance0.1273 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA318F #31AA4C
analogous
#8831AA #AA318F #AA3153
triadic
#AA318F #8FAA31 #318FAA
tetradic
#AA318F #AA8831 #31AA4C #3153AA
square
#AA318F #AA8831 #31AA4C #3153AA
split-complementary
#AA318F #53AA31 #31AA88
monochromatic
#4B163F #7A2367 #AA318F #CC4DAF #D97CC4

Accessibility & contrast

On white

5.92
#AA318F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AA318F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA318F
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA318F#FFFFFF#000000##FFFFFF
##AA318F1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365892
Deuteranopia (green-blind)
#5E6B8C
Tritanopia (blue-blind)
#B3375C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa318f;
/* rgb */ color: rgb(170, 49, 143);
/* oklch */ color: oklch(52.8% 0.186 338.3);
Tailwind
colors: {
  custom: {
    50: '#c774b0',
    500: '#aa318f',
    950: '#000000',
  },
}
SCSS
$custom: #aa318f;
$custom-light: #c774b0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa318f",
  "rgb": {
    "r": 170,
    "g": 49,
    "b": 143
  },
  "hsl": {
    "h": 313.388,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52757,
    "c": 0.18601,
    "h": 338.3
  },
  "luminance": 0.12726
}

Semantic roles & 50–950 ramp

primary
#AA318F
secondary
#75C286
accent
#DF6B49
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #AA318F

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

Preview Lab → · Contrast checker → · Palette generator →

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